[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] SuSE 7.2 kernel source



On Sunday 14 Oct 2001 7:00 pm, you wrote:

> Absolutely correct. /usr/src/linux should contain the headers to the
> version of the kernel your glibc was compiled on, IIRC.

glibc is the only thing that should require kernel headers to compile. 
Depending on kernel headers from userspace is wrong.

> I usually use /usr/local/src/linux. /usr/src/linux shouldn't be used; but
> if you ever want to patch your kernel with something hardcore (FreeS/Wan
> springs to mind) you'll need to do some real work if it isn't there. I
> discussed this with the FreeS/Wan guys about six months ago; they didn't
> really seem to care. Although I can see their side of it too: linux sources
> are most likely to be in /usr/src/linux. MPOV is that if someone's applying
> a kernel patch they ought to bloody well know where the source is located,
> but there we are.

Linus builds in /home/linus somewhere AFAIK. If you want to distribute idiot 
proof kernel patches, ship binaries.

> If in doubt, compile everything as a module (except for filesystems and IDE
> device drivers :). If you're not using it, it won't get loaded: you just
> pay for the extra compile time, which I suspect shouldn't bother you too
> much.

Debian compile everything as a module and boot from an initrd, which makes 
things a lot harder to figure out if they go wrong, not sure if any other 
distros do this.
___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.