Re: make-kpkg and kernel-name

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Braun wrote:
> Hello,
>
> I'm using loop-aes  for quite a while now and have encounterd a small
> misfeature (I wouldn't call it a bug).
> 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

make-kpkg is a debian feature....

> 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/ .

...and as such, it's basically make+some_debian_magic. but the Makefile
from loop-aes (or some other src) does not know about the "magic" part.
i assume it will only look into /usr/src/linux/Makefile and finds 2.4.27
 as version number.

> 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.

you're running 2.4.27-test, and the "-test" was added to the kernel, not
to /usr/src/linux/Makefile, right? not? correct me, if i'm wrong.

> Of course I only have to move the module to the right place, but I
think it's
> quite annyoing.

you could edit /usr/src/linux/Makefile, or let make-kpkg edit this file
perhaps?

cheers,
Christian.
- --
BOFH excuse #180:

ether leak
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBOHAO+A7rjkF8z0wRAoB2AKDPBC3ZwAQp8NSzJaD+RlkELetG1wCgq5Yc
5Z0vKyytI1avqlPLJ0uLz14=
=yBol
-----END PGP SIGNATURE-----

-
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