Gentoo Archives: gentoo-user

From: "W.Kenworthy" <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Building all packages except gcc
Date: Mon, 19 Nov 2007 03:54:01
Message-Id: 1195444097.31822.19.camel@localhost
In Reply to: Re: [gentoo-user] Re: Building all packages except gcc by Sean
1 "emerge world -ep > buildfile"
2 edit buildfile and do some search and replaces on each line.
3
4 [ebuild R ] sys-libs/gpm-1.20.1-r5
5 [ebuild R ] sys-libs/ncurses-5.6-r1
6
7 becomes
8 emerge =sys-libs/gpm-1.20.1-r5 && \
9 emerge =sys-libs/ncurses-5.6-r1 && \
10 and so on
11
12 Make sure there are no spaces after the \
13
14 Run the file using "sh buildfile". If an emereg stops, just edit the
15 file deleting or comment the completed builds and restartinmg it.
16
17 BillK
18
19
20 On Sun, 2007-11-18 at 21:20 -0500, Sean wrote:
21 > On Mon, Nov 19, 2007 at 03:14:47AM +0100, Miernik wrote:
22 > > David Relson <relson@×××××××××××××.com> wrote:
23 > > > /var/lib/world has a (partial) list of installed packages. You could
24 > > > do something like:
25 > > >
26 > > > cat /var/lib/world | grep -v /gcc$ | xargs emerge
27 > >
28 > > ???
29 > >
30 > > przehyba ~ # cat /var/lib/world
31 > > cat: /var/lib/world: No such file or directory
32 > > przehyba ~ # uname -a
33 > > Linux przehyba 2.6.22-gentoo-r9 #1 SMP Fri Nov 9 22:38:35 CET 2007 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4000+ AuthenticAMD GNU/Linux
34 > > przehyba ~ #
35 >
36 > /var/lib/portage/world
37 >
38 --
39 gentoo-user@g.o mailing list