On Thu, 2003-04-03 at 01:32, Matt Neimeyer wrote: > I know I saw this before but I don't remember if there was a solution... > > What I'm wondering is if there is a way to mask off entire branches of > Portage that I know I will never need... and thus will never be fetched > when I do an emerge sync? (thus saving on bandwidth... which I'm billed for) > > For example, I will never need x11, gnome or kde on my web/mail server... > so I'd just as soon rather not fetch those branches. > > Thanks! > > Matt
Sounds like RSYNC_EXCLUDEFROM is exactly what you are looking for. In make.conf set RSYNC_EXCLUDEFROM=<file location here> and in the specified file put what packages you want to block. An example of my file is: /kde-base /app-emacs /app-xemacs This blocks all files in the kde-base, app-emacs, and app-xemacs directories, since I never intend to use any of the packages in those directories. Another one for you would be "/x11-*" which would block all of the x11 packages. Check out man rsync under Exclude Patterns for more patterns you can use to block packages. I have used this with quite a bit of success in trying to lower bandwidth usage of gentoo (being on a capped internet connection). I'm not entirely sure what version of portage introduced this, I know it was fairly recently. I am using this feature perfectly with Portage v2.0.47-r10. Richard -- [EMAIL PROTECTED] mailing list
