public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: Andrew Gaffney <agaffney@gentoo.org>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] trim down portage directory
Date: Tue, 08 Apr 2008 06:51:48 -0500	[thread overview]
Message-ID: <47FB5C54.3010702@gentoo.org> (raw)
In-Reply-To: <20080408085117.M99216@lutel.pl>

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.

-- 
Andrew Gaffney                                 http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer             Catalyst/Installer + x86 release coordinator
-- 
gentoo-server@lists.gentoo.org mailing list



  reply	other threads:[~2008-04-08 11:51 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 [this message]
2008-04-08 13:07   ` Tomasz Lutelmowski
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=47FB5C54.3010702@gentoo.org \
    --to=agaffney@gentoo.org \
    --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