/usr/src/linux & /usr/src/linux-2.4.20 directories

Ronald Hummelink ronald at hummelink.xs4all.nl
Tue Jan 28 05:29:20 PST 2003


On Tue, 2003-01-28 at 11:48, Ian Molton wrote:

> Imagine you are running 2.4.19 and have JUST compiled and installed
> 2.4.20
> 
> you want to compile lm_sensors (or something).
> 
> the package uses uname, and compiles and installs for 2.4.19. oops!
> 
> with the symlink, it would have worked.

You always compile modules for a kernel you do not know for 100% sure it
will actually boot?

Granted, i can see why you want to do this, have your scripts not bugger
out on the first boot to the new kernel. If you have a 3rth party module
thats critical for booting your system (from an initrd!) you are on thin
ice already, but for this reason a --with-kernel-source-dir= switch
should be available in your (3rth party) package.

And finally if you compile for someone else, eg a distro maker you
better make sure the just build kernel boots (and more then that really
:X), so it is hardly relevant that the build symlink fails.

Ronald

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list