Gentoo Archives: gentoo-catalyst

From: Christophe PEREZ <christophe.perez@×××××××.com>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] Re: ANNOUNCE: catalyst 1.1.10.3
Date: Wed, 13 Jul 2005 01:31:59
Message-Id: pan.2005.07.13.01.31.39.360202@novazur.fr
In Reply to: [gentoo-catalyst] Re: Re: ANNOUNCE: catalyst 1.1.10.3 by Christophe PEREZ
1 Le Tue, 12 Jul 2005 21:02:29 -0400, Christophe PEREZ a écrit :
2
3 >> postconf no longer exists. You should be able to merge all packages at
4 >> boot/kernel/xxxx/packages: .
5 >
6 > Oh, sorry, I would make especially better look at new the specs.
7 > :-(
8
9 But, without postconf, it doesn't work better, and in the example spec
10 file, I can see that :
11 $ grep -B 4 postconf /usr/share/doc/catalyst-1.1.10.3/examples/livecd-stage2_template.spec
12 # This option is a list of packages which genkernel will emerge after the kernel
13 # has been configured, but before it is compiled. This option is used for the
14 # exclusive purpose of including our gensplash theme into the kernel bzImage.
15 # example:
16 # boot/kernel/gentoo/postconf: splashutils splash-themes-livecd
17 boot/kernel/gentoo/postconf:
18
19
20 And, another thing, mounts like /dev, /dev/pts, /proc etc... are not
21 unmounted when I get this error.
22
23 I think humbly that it is rather a bug, and this patch seems to correct it
24 for me :
25 --- /usr/lib/catalyst/modules/livecd_stage2_target.py.orig 2005-07-12 21:23:28.000000000 -0400
26 +++ /usr/lib/catalyst/modules/livecd_stage2_target.py 2005-07-12 21:25:12.000000000 -0400
27 @@ -249,19 +249,19 @@
28 # should be skipped
29 args.append("NULL_VALUE")
30
31 - if self.settings.has_key("boot/kernel/"+x+"/postconf"):
32 - print "boot/kernel/"+x+"/postconf is deprecated"
33 - print "\tInternally moving these ebuilds to boot/kernel/"+x+"/packages"
34 - print "\tPlease move them to boot/kernel/"+x+"/packages in your specfile"
35 - if type(self.settings["boot/kernel/"+x+"/postconf"]) == types.StringType:
36 - loop2=[self.settings["boot/kernel/"+x+"/postconf"]]
37 + if self.settings.has_key("boot/kernel/"+kname+"/postconf"):
38 + print "boot/kernel/"+kname+"/postconf is deprecated"
39 + print "\tInternally moving these ebuilds to boot/kernel/"+kname+"/packages"
40 + print "\tPlease move them to boot/kernel/"+kname+"/packages in your specfile"
41 + if type(self.settings["boot/kernel/"+kname+"/postconf"]) == types.StringType:
42 + loop2=[self.settings["boot/kernel/"+kname+"/postconf"]]
43 else:
44 - loop2=self.settings["boot/kernel/"+x+"/postconf"]
45 + loop2=self.settings["boot/kernel/"+kname+"/postconf"]
46
47 for y in loop2:
48 - self.settings["boot/kernel/"+x+"/packages"].append(y)
49 + self.settings["boot/kernel/"+kname+"/packages"].append(y)
50
51 - del self.settings["boot/kernel/"+x+"/postconf"]
52 + del self.settings["boot/kernel/"+kname+"/postconf"]
53
54 # write out /var/tmp/kname.(use|packages) files, used for kernel USE
55 # and extra packages settings
56
57
58 --
59 Christophe PEREZ
60 --
61 gentoo-catalyst@g.o mailing list

Replies

Subject Author
Re: [gentoo-catalyst] Re: ANNOUNCE: catalyst 1.1.10.3 Chris Gianelloni <wolf31o2@g.o>