Gentoo Archives: gentoo-dev

From: Peter Johanson <latexer@g.o>
To: John Nilsson <john@×××××××.nu>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Policy on kernel module ebuilds, etc
Date: Thu, 12 Feb 2004 06:24:45
Message-Id: 20040212062511.GB5093@gonzo.wireless.peterjohanson.com
In Reply to: Re: [gentoo-dev] Policy on kernel module ebuilds, etc by John Nilsson
1 On Thu, Feb 12, 2004 at 07:01:57AM +0100, John Nilsson wrote:
2 > what about /usr/src/linus-beta?
3 >
4 /usr/src/linux-beta is a convension that was added to "match" the
5 /usr/src/linux convension from 2.4 kernels. Ultimately, it gets ugly
6 doing things like having a configurable "Look here, no wait look here!"
7 method for figuring out which kernel tree symlinks to use.
8
9 Consider /usr/src/linux-beta a convenient symlink to have around, but
10 portage will always be using /usr/src/linux for the say in how things
11 get handled. Once it looks at /usr/src/linux, it can then figure out
12 whether it's dealing with a 2.4 or a 2.6 kernel and go from there.
13
14 -pete
15
16 > -John
17 >
18 > On Thu, 2004-02-12 at 03:44, Peter Johanson wrote:
19 > > hey all,
20 > >
21 > > in my work on bug #32737 for external module compilation, i've come
22 > > upon one or two instances of problems with kernel module ebuilds. Wanted
23 > > to shoot out a quick reminder/announcement about it.
24 > >
25 > > Kernel module ebuilds should *always* pull their information from
26 > > /usr/src/linux/ and not from using `uname` or looking in /proc, etc.
27 > > Ebuilds need to remain as "location agnostic" as possible so that liveCD
28 > > building and other things people might be doing do not affect things.
29 > > (image someone doing a bunch of ebuild installations for some kernel so
30 > > they can tar up the bzImage and /lib/modules/${KV} for another box using
31 > > portage.)
32 > >
33 > > So whenever possible, please grab all your info from /usr/src/linux
34 > >
35 > > Thanks for listening to my mini-rant. (:
36 > >
37 > > -pete
38
39
40
41 --
42 Peter Johanson
43 <latexer@g.o>
44
45 Key ID = 0x6EFA3917
46 Key fingerprint = A90A 2518 57B1 9D20 9B71 A2FF 8649 439B 6EFA 3917

Replies

Subject Author
Re: [gentoo-dev] Policy on kernel module ebuilds, etc John Nilsson <john@×××××××.nu>