I use a combination of the suggested on my Servers.  I use a a NFS mounted 
portdir, 
and my exclude list is just a lit of all the KDE-*, gnome-*, xfce-*, and x11-*.

I don't use X so it seems to work pretty well, and it still keeps the re-cache 
time
to a minimal. 

----- Original Message -----
From: "Brian Kroth" <[EMAIL PROTECTED]>
To: "Tomasz Lutelmowski" <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Tuesday, April 8, 2008 8:43:47 AM GMT -06:00 US/Canada Central
Subject: Re: [gentoo-server] trim down portage directory

Tomasz Lutelmowski <[EMAIL PROTECTED]> 2008-04-08 15:07:
> On Tue, 08 Apr 2008 06:51:48 -0500, Andrew Gaffney wrote
> > Tomasz Lutelmowski wrote:
> > > 
> > > Hello,
> > > 
> > > Here is one-liner which can be helpful if you want to trim down your 
> > > gentoo
> > > installation, particulary /usr/portage directory and/or lower emerge 
> > > --sync times / save bandwidth (requires app-portage/portage-utils):
> > > 
> > > (echo -e "+ profiles**\n+ eclass**\n+ metadata*\n+ metadata/cache*\n+ 
> > > metadata/dtd**\n+ metadata/glsa**\n+ metadata/news**\n+ scripts**"; for 
> > > f in `qlist -IC | cut -f1 -d'/' | sort | uniq | sort`; do echo "+ $f**"; 
> > > echo "+ metadata/cache/$f**"; done; echo "- */") > 
> > > /etc/portage/rsync_excludes
> > > 
> > > you need also to add this line to make.conf
> > > 
> > > PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
> > 
> > This is a bit short-sighted. Using this doesn't allow you to install 
> > any additional packages (unless the package and its dependencies 
> > happen to be in the category of a package you already have installed)
> >  and will break dep resolution when the dependencies change for any 
> > packages that you currently have installed.

I agree.  Why not just use an NFS mounted PORTDIR?


-- 
Ryan Gibbons
817.657.1780
[EMAIL PROTECTED]
-- 
[email protected] mailing list

Reply via email to