From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Jj9ee-0005Xk-Lt for garchives@archives.gentoo.org; Tue, 08 Apr 2008 08:58:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7905E0411; Tue, 8 Apr 2008 08:58:10 +0000 (UTC) Received: from smtp.energoprojekt.pl (smtp.energoprojekt.pl [213.25.35.133]) by pigeon.gentoo.org (Postfix) with ESMTP id AC3F1E0411 for ; Tue, 8 Apr 2008 08:58:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.energoprojekt.pl (postfix) with ESMTP id 709DC6B9A4 for ; Tue, 8 Apr 2008 10:58:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at energoprojekt.pl Received: from smtp.energoprojekt.pl ([127.0.0.1]) by localhost (gw.energoprojekt.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u8vzqHZfaG81 for ; Tue, 8 Apr 2008 10:58:04 +0200 (CEST) Received: from mail.lutel.pl (localhost [127.0.0.1]) by smtp.energoprojekt.pl (postfix) with ESMTP id E41C26B9AE for ; Tue, 8 Apr 2008 10:58:03 +0200 (CEST) From: "Tomasz Lutelmowski" To: gentoo-server@lists.gentoo.org Subject: [gentoo-server] trim down portage directory Date: Tue, 8 Apr 2008 10:58:03 +0200 Message-Id: <20080408085117.M99216@lutel.pl> X-OriginatingIP: 85.222.9.113 (tomek@lutel.pl) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@lists.gentoo.org Reply-to: gentoo-server@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/html; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 692ae185-4ea3-4a86-9230-9d972cc7638c X-Archives-Hash: ad7d3b6eee5b8af2f360c261a79e60c2 =20
Hello, =20
=20
Here is one-liner which can be helpful if you want to trim down your=20 gentoo =20
installation, particulary /usr/portage=20 directory and/or lower emerge --sync times / save bandwidth (requires app-p= ortage/portage-utils):
=20
(echo -e "+ profiles**\n+ eclass**\n+ metadata*\n+ metadata/cache*\n+= metadata/dtd**\n+ metadata/glsa**\n+ metadata/news**\n+ scripts**"; f= or f in `qlist -IC | cut -f1 -d'/' | sort | uniq | sort`; do echo "+ $= f**"; echo "+ metadata/cache/$f**"; done; echo "- */&qu= ot;) > /etc/portage/rsync_excludes

you need also to add this line to make.conf

PORTAGE_RSYNC_EXTRA_OPTS=3D"--exclude-from=3D/etc/portage/rsync_= excludes"

Regards,
Tomek
-- gentoo-server@lists.gentoo.org mailing list