[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make-kpkg and kernel-name
Thomas Braun wrote:
> My box is running under debian woody. AfterI I build a new kernel (2.4.27)
> with, for example, "make-kpkg --append-to-version \-test kernel_image" and
> installing it I have the directory /lib/modules/2.4.27-test/.
> After rebooting and selecting the nee kernel in grub, I change now to my
> loop-aes directory and execute make, /usr/src/linux points to the running
> kernel, he compiles the new loop.o modul but moves it
> to /lib/modules/2.4.27/block/ instead of the right
> place /lib/modules/2.4.27-test/block/ . The Makefile also complains about the
> wrong version ("WARNING - THIS MODULE WILL NOT WORK WITH CURRENTLY RUNNING
> KERNEL") but infact I'm running the right kernel.
> Of course I only have to move the module to the right place, but I think it's
> quite annyoing.
You can override kernel's KERNELRELEASE Makefile string by defining it on
loop-AES make command line. Something like this:
make LINUX_SOURCE=/usr/src/linux KERNELRELEASE=2.4.27-test
^^^^^^^^^^^^^^^^^^^^^^^^^
--
Jari Ruusu 1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9 DB 1D EB E3 24 0E A9 DD
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/