Gentoo Archives: gentoo-user

From: Daniel Iliev <daniel.iliev@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Automated "emerge -e world"
Date: Wed, 12 Sep 2007 10:49:17
Message-Id: 46e7c12e.1c03420a.2d90.ffffb446@mx.google.com
In Reply to: Re: [gentoo-user] Automated "emerge -e world" by Albert Hopkins
1 On Tue, 11 Sep 2007 19:52:55 -0500
2 Albert Hopkins <marduk@g.o> wrote:
3
4 > On Wed, 2007-09-12 at 03:04 +0300, Daniel Iliev wrote:
5 > > Hi, list
6 > >
7 > > I'd like to automate a full re-emerging and to get a record of all
8 > > packages that failed. Something like:
9 > >
10 > > ##
11 > >
12 > > emerge -e world || {
13 > >
14 > > echo "$CATEGORY/$PN" >>failed.txt
15 > >
16 > > while ! emerge --resume --skipfirst
17 > > do
18 > > echo "$CATEGORY/$PN" >> failed.txt
19 > > done
20 > > }
21 > >
22 > > ##
23 > >
24 > >
25 > > Any ideas how to achieve this?
26 > >
27 > >
28 > > --
29 > > Best regards,
30 > > Daniel
31 >
32 > Here's a script that I use. I use it to build all my packages at the
33 > end of the month. Works ok for me. YMMV:
34 >
35
36
37 Wow! Thank you very much!
38 I was actually expecting some kind of a simple bash script. Anyway I'll
39 give it a try // even though I'm so afraid of snakes :) //
40
41
42
43 --
44 Best regards,
45 Daniel
46 --
47 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Automated "emerge -e world" Neil Bothwick <neil@××××××××××.uk>