Package: kernel-package Version: 12.033 severity: medium Hello Manoj, from time to time I build kernels with kernel-package. Since the new kernel-package version (I installed squeeze's version to my lenny machine) I cannot build packages anymore that automatically create an initrd. I already read the docs and the man package I did what is recommended to do, but I still don't get hook scripts in /etc/kernel/foobar....
My questions: * Does the --initrd option of make-kpkg _only_ enable the scan and execution of the the hooks in /etc/kernel? * Is there any mode in that creates a kernel package which _installs_ hook scripts on the _target_ system? I want the hooks script itself being included in the kernel package I create. I see make-kpkg creates debian/linux-image-foobar/etc/kernel/postinst.d/, but this dir is always empty. * Are you aware that the initramfs-tools ship a hook that contains: ---8<--- # kernel-package passes an extra arg; hack to not run under kernel-package [ -z "$2" ] || exit 0 ---8<--- So that hook script exit 0 when called by a kernel package made by make-kpkg - why would it be wrong to run that hook when installing a kernel made by kernel-package? My goal is to create distro-like kernel packages, i.e. I want the packages to be transferable to other machines as a drop-in replacement for the packages that Debian ships. But as long as the users habe to call the mkinitramfs manually, it's a real pitfall for them ... Best Regards, Andreas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org