On Tue, 21 Oct 2003 08:39:54 -0700 "C. Brewer" <[EMAIL PROTECTED]> wrote:
> On Tuesday 21 October 2003 5:58, Mike Frysinger wrote: > > On Tuesday 21 October 2003 08:48, Dhruba Bandopadhyay wrote: > > > How must a package determine what kernel is system is using? > > > > it uses the /usr/src/linux symlink to determine running kernel ... Not exactly the _running_ kernel, but the _target_ kernel. > But why do we keep up with the obselete link? Because it is useful to be able to compile modules for a target kernel that may be different than the running kernel, and a symlink is a good way to point the target of your choice. > So we still have link climbing even though we have the linux-headers > package which is supposed to prevent just that... I don't see how system headers are related to modules compilation. The flameable symlink is the /usr/include/linux, but it's a different issue. It is something that on some other distros points on kernel includes from kernel sources, but as you said, on Gentoo, we have a linux-headers package and a real directory, so we do things the right way. Now, about /usr/src/linux-beta, I don't neither understand its semantics or usefulness. Obviously, /usr/src/linux is the way to go also for 2.6 kernels, at least that's what is assumed in modules ebuilds, so I usually just delete linux-beta or ignore it. -- TGL. -- [EMAIL PROTECTED] mailing list
