From: "Tomasz Lutelmowski" <tomek@lutel.pl>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] trim down portage directory
Date: Tue, 8 Apr 2008 15:07:51 +0200 [thread overview]
Message-ID: <20080408125457.M88942@lutel.pl> (raw)
In-Reply-To: <47FB5C54.3010702@gentoo.org>
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.
This is true, anyway I'm using it on all production servers with stable and
final set of packages.
--
gentoo-server@lists.gentoo.org mailing list
next prev parent reply other threads:[~2008-04-08 13:09 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 [this message]
2008-04-08 13:43 ` Brian Kroth
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=20080408125457.M88942@lutel.pl \
--to=tomek@lutel.pl \
--cc=gentoo-server@lists.gentoo.org \
/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