1 |
Tomasz Lutelmowski wrote: |
2 |
> |
3 |
> Hello, |
4 |
> |
5 |
> Here is one-liner which can be helpful if you want to trim down your gentoo |
6 |
> installation, particulary /usr/portage directory and/or lower emerge |
7 |
> --sync times / save bandwidth (requires app-portage/portage-utils): |
8 |
> |
9 |
> (echo -e "+ profiles**\n+ eclass**\n+ metadata*\n+ metadata/cache*\n+ |
10 |
> metadata/dtd**\n+ metadata/glsa**\n+ metadata/news**\n+ scripts**"; for |
11 |
> f in `qlist -IC | cut -f1 -d'/' | sort | uniq | sort`; do echo "+ $f**"; |
12 |
> echo "+ metadata/cache/$f**"; done; echo "- */") > |
13 |
> /etc/portage/rsync_excludes |
14 |
> |
15 |
> you need also to add this line to make.conf |
16 |
> |
17 |
> PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" |
18 |
|
19 |
This is a bit short-sighted. Using this doesn't allow you to install any |
20 |
additional packages (unless the package and its dependencies happen to be in the |
21 |
category of a package you already have installed) and will break dep resolution |
22 |
when the dependencies change for any packages that you currently have installed. |
23 |
|
24 |
-- |
25 |
Andrew Gaffney http://dev.gentoo.org/~agaffney/ |
26 |
Gentoo Linux Developer Catalyst/Installer + x86 release coordinator |
27 |
-- |
28 |
gentoo-server@l.g.o mailing list |