Package: kernel-package Version: 12.036+nmu1 Severity: normal Hi,
I've been trying to get a custom kernel image into a debian live cd, but the default images generated by kernel-package won't work because they don't generate an initrd (even though the initramfs-tools version is new enough and make-kpkg was ran with --initrd). After investigation, this was caused by initramfs-tools being installed only after the kernel image, breaking the automatic hooks. It makes sense to solve this using a dependency in the generated kernel images (if and only if --initrd is passed, of course). Considering that there are multiple initramfs generators, depending on "initramfs-tools | linux-initramfs-tool" is probably slightly better (the latter being a virtual package provided by both initramfs-tools and dracut). This would make sure that any kernel built with --initrd actually gets an initrd created, even if the administrator did not know to install initramfs-tools beforehand. For existing setups, nothing should change. Does this make sense? Gr. Matthijs -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-rc10+ (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages kernel-package depends on: ii binutils 2.21.90.20111004-2 ii build-essential 11.5 ii debianutils 4.0.4 ii file 5.09-2 ii gettext 0.18.1.1-5 ii make 3.81-8.1 ii module-init-tools 3.16-1 ii po-debconf 1.0.16+nmu1 ii util-linux 2.19.1-5 Versions of packages kernel-package recommends: ii cpio 2.11-7 Versions of packages kernel-package suggests: pn btrfs-tools <none> pn bzip2 1.0.5-7 pn docbook-utils 0.6.14-1.1 pn e2fsprogs 1.42~WIP-2011-10-16-1 pn grub | grub2 <none> pn initramfs-tools [linux-initramfs-tool] 0.99 pn jfsutils <none> pn libncurses5-dev [libncurses-dev] 5.9-2 pn linux-source | kernel-source <none> pn mcelog <none> pn oprofile <none> pn pcmciautils <none> pn ppp 2.4.5-5 pn procps 1:3.2.8-11 pn quota <none> pn reiserfsprogs <none> pn squashfs-tools 1:4.2-4+b1 pn udev 172-1 pn xfsprogs <none> pn xmlto <none> -- Configuration Files: /etc/kernel-pkg.conf changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org