* [gentoo-server] trim down portage directory
@ 2008-04-08 8:58 Tomasz Lutelmowski
2008-04-08 11:51 ` Andrew Gaffney
0 siblings, 1 reply; 7+ messages in thread
From: Tomasz Lutelmowski @ 2008-04-08 8:58 UTC (permalink / raw
To: gentoo-server
[-- Attachment #1: Type: text/html, Size: 1099 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-server] trim down portage directory
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
0 siblings, 1 reply; 7+ messages in thread
From: Andrew Gaffney @ 2008-04-08 11:51 UTC (permalink / raw
To: gentoo-server
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-server] trim down portage directory
2008-04-08 11:51 ` Andrew Gaffney
@ 2008-04-08 13:07 ` Tomasz Lutelmowski
2008-04-08 13:43 ` Brian Kroth
0 siblings, 1 reply; 7+ messages in thread
From: Tomasz Lutelmowski @ 2008-04-08 13:07 UTC (permalink / raw
To: gentoo-server
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-server] trim down portage directory
2008-04-08 13:07 ` Tomasz Lutelmowski
@ 2008-04-08 13:43 ` Brian Kroth
2008-04-08 15:01 ` gibbonsr-ml
0 siblings, 1 reply; 7+ messages in thread
From: Brian Kroth @ 2008-04-08 13:43 UTC (permalink / raw
To: Tomasz Lutelmowski; +Cc: gentoo-server
[-- 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 --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-server] trim down portage directory
2008-04-08 13:43 ` Brian Kroth
@ 2008-04-08 15:01 ` gibbonsr-ml
2008-04-09 5:37 ` Petr Podrabsky
0 siblings, 1 reply; 7+ messages in thread
From: gibbonsr-ml @ 2008-04-08 15:01 UTC (permalink / raw
To: gentoo-server
I use a combination of the suggested on my Servers. I use a a NFS mounted portdir,
and my exclude list is just a lit of all the KDE-*, gnome-*, xfce-*, and x11-*.
I don't use X so it seems to work pretty well, and it still keeps the re-cache time
to a minimal.
----- Original Message -----
From: "Brian Kroth" <bpkroth@wisc.edu>
To: "Tomasz Lutelmowski" <tomek@lutel.pl>
Cc: gentoo-server@lists.gentoo.org
Sent: Tuesday, April 8, 2008 8:43:47 AM GMT -06:00 US/Canada Central
Subject: Re: [gentoo-server] trim down portage directory
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?
--
Ryan Gibbons
817.657.1780
gibbonsr@routedtechnologies.com
--
gentoo-server@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-04-09 16:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2008-04-08 15:01 ` gibbonsr-ml
2008-04-09 5:37 ` Petr Podrabsky
2008-04-09 16:52 ` Matthias Bethke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox