Re: make-kpkg and kernel-name

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

 



Am Freitag, 3. September 2004 17:39 schrieb Jari Ruusu:
> 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
>                                  ^^^^^^^^^^^^^^^^^^^^^^^^^

Okay thats what I wanted, thanks a lot.

Thomas Braun

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux