Gentoo Archives: gentoo-releng

From: Guy Martin <gmsoft@g.o>
To: gentoo-releng@l.g.o
Cc: zhen@g.o
Subject: Re: [gentoo-releng] catalyst vs genkernel question
Date: Mon, 17 May 2004 19:21:43
Message-Id: 20040517211711.7fe05da7.gmsoft@gentoo.org
In Reply to: Re: [gentoo-releng] catalyst vs genkernel question by John Davis
1 On Sun, 16 May 2004 21:46:59 -0400
2 John Davis <zhen@g.o> wrote:
3
4 > On Sun, 2004-05-16 at 16:32, Guy Martin wrote:
5 > > Hi all
6 > >
7 > >
8 > > I'd like to pass extra args to genkernel by specifying
9 > > them in the spec file. What I need to do is tell genkernel to build
10 > > a kernel for arch "parisc64" instead of "parisc" in the purpose to
11 > > have both 32 and 64 bit kernel on a livecd.
12 > >
13 > > Passing it the --arch-override flag could be a good idea but I can't
14 > > do this per kernel.
15 > >
16 > > So this is kinda a feature request for catalyst :)
17 > >
18 > > Thanks in advance for implementing that asap :)
19 >
20 > Its in :)
21 > Add "livecd/genkernel_args" to your livecd-stage2 specfile and you
22 > should be set.
23 >
24
25 This isn't per kernel configuration, is it ?
26
27 Currently I have this in my spec file :
28 boot/kernel/vmlinux32/sources: sys-kernel/hppa-sources
29 boot/kernel/vmlinux32/config: livecd/kconfig/config-2.4.26-hppa32
30 boot/kernel/vmlinux32/extraversion: livecd-32
31
32 boot/kernel/vmlinux64/sources: sys-kernel/hppa-sources
33 boot/kernel/vmlinux64/config: livecd/kconfig/config-2.4.26-hppa64
34 boot/kernel/vmlinux64/extraversion: livecd-64
35
36 and I'd like to have
37
38 boot/kernel/vmlinux64/genkernel_args: --arch-override=parisc64
39
40 This allow genkernel to pass the make module install phase.
41
42 Can it be already done ?
43
44
45 > Note to all - this no longer has to be set in your archscript since it
46 > can be done in the specfile, so I am going to remove any genkernel
47 > args from your archscripts in cvs. The only arch that had code for
48 > that in CVS is sparc ...
49 >
50 > BTW, expect at least daily commits from my end to catalyst this week.
51 > I am working on getting all of the feature requests in for 2004.2.
52 >
53 > Cheers,
54 > --
55 > John Davis
56 > Gentoo Linux Developer
57 > <http://dev.gentoo.org/~zhen>
58 >
59 > ----
60 > GnuPG Public Key: <http://dev.gentoo.org/~zhen/zhen_pub.asc>
61 > Fingerprint: 2364 71BD 4BC2 705D F338 FF70 6650 1235 1946 2D47
62 >
63 >
64
65
66 --
67 Guy Martin
68 Gentoo Linux - HPPA port Lead / IPv6 team
69 Lug Charleroi (Belgium)

Replies

Subject Author
Re: [gentoo-releng] catalyst vs genkernel question John Davis <zhen@g.o>