public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Kroth <bpkroth@wisc.edu>
To: Tomasz Lutelmowski <tomek@lutel.pl>
Cc: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] trim down portage directory
Date: Tue, 08 Apr 2008 08:43:47 -0500	[thread overview]
Message-ID: <20080408134347.GF14024@wisc.edu> (raw)
In-Reply-To: <20080408125457.M88942@lutel.pl>

[-- Attachment #1: Type: text/plain, Size: 1300 bytes --]

Tomasz Lutelmowski <tomek@lutel.pl> 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?

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2192 bytes --]

  reply	other threads:[~2008-04-08 13:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-08  8:58 [gentoo-server] trim down portage directory Tomasz Lutelmowski
2008-04-08 11:51 ` Andrew Gaffney
2008-04-08 13:07   ` Tomasz Lutelmowski
2008-04-08 13:43     ` Brian Kroth [this message]
2008-04-08 15:01       ` gibbonsr-ml
2008-04-09  5:37         ` Petr Podrabsky
2008-04-09 16:52           ` Matthias Bethke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080408134347.GF14024@wisc.edu \
    --to=bpkroth@wisc.edu \
    --cc=gentoo-server@lists.gentoo.org \
    --cc=tomek@lutel.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox