Gentoo Archives: gentoo-dev

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

Attachments

File name MIME type
signature.asc application/pgp-signature