1 |
Tomasz Lutelmowski <tomek@×××××.pl> 2008-04-08 15:07: |
2 |
> On Tue, 08 Apr 2008 06:51:48 -0500, Andrew Gaffney wrote |
3 |
> > Tomasz Lutelmowski wrote: |
4 |
> > > |
5 |
> > > Hello, |
6 |
> > > |
7 |
> > > Here is one-liner which can be helpful if you want to trim down your gentoo |
8 |
> > > installation, particulary /usr/portage directory and/or lower emerge |
9 |
> > > --sync times / save bandwidth (requires app-portage/portage-utils): |
10 |
> > > |
11 |
> > > (echo -e "+ profiles**\n+ eclass**\n+ metadata*\n+ metadata/cache*\n+ |
12 |
> > > metadata/dtd**\n+ metadata/glsa**\n+ metadata/news**\n+ scripts**"; for |
13 |
> > > f in `qlist -IC | cut -f1 -d'/' | sort | uniq | sort`; do echo "+ $f**"; |
14 |
> > > echo "+ metadata/cache/$f**"; done; echo "- */") > |
15 |
> > > /etc/portage/rsync_excludes |
16 |
> > > |
17 |
> > > you need also to add this line to make.conf |
18 |
> > > |
19 |
> > > PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" |
20 |
> > |
21 |
> > This is a bit short-sighted. Using this doesn't allow you to install |
22 |
> > any additional packages (unless the package and its dependencies |
23 |
> > happen to be in the category of a package you already have installed) |
24 |
> > and will break dep resolution when the dependencies change for any |
25 |
> > packages that you currently have installed. |
26 |
|
27 |
I agree. Why not just use an NFS mounted PORTDIR? |