Package: kernel-package Version: 9.008.4 Severity: important Hello,
I created a kernel, where an LOCALVERSION is set: .config (abridgement): ... CONFIG_LOCALVERSION="LYDIA.X10" ... There were no problem in creating the package with 'make-kpkg --initrd kernel_image'. But I've got an error, when I tried to install it: # dpkg -i kernel-image-2.6.12_10.00.Custom_i386.deb ... Using /usr/sbin/mkinitrd to build the ramdisk. Other suitable ramdisk generating tools : /usr/sbin/mkinitrd.yaird. Full list of probed ramdisk generating tools : /usr/sbin/mkinitrd /usr/sbin/mkinitrd.yaird /usr/sbin/mkinitramfs. /usr/sbin/mkinitrd: /lib/modules/2.6.12: Not a directory /usr/sbin/mkinitrd: MODULES needs to be set to none? Failed to create initrd image. ... The problem is, that kernel-package does not run mkinitrd with the correct dir/version. In my case the correct dir is: /lib/modules/2.6.12LYDIA.X10, the corret kernel name is 2.6.12.LYDIA.X10. A workaround is to run mkinitrd manually with: /usr/sbin/mkinitrd -o /boot/initrd.img-2.6.12 2.6.12LYDIA.X10 -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (900, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12LYDIA.X10 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages kernel-package depends on: ii dpkg 1.13.11.0.1 package maintenance system for Deb ii dpkg-dev 1.13.11 package building tools for Debian ii gcc [c-compiler] 4:4.0.2-1 The GNU C compiler ii gcc-3.3 [c-compiler] 1:3.3.6-7 The GNU C compiler ii gcc-3.4 [c-compiler] 3.4.4-9 The GNU C compiler ii gcc-4.0 [c-compiler] 4.0.2-2 The GNU C compiler ii make 3.80-11 The GNU version of the "make" util ii perl 5.8.7-7 Larry Wall's Practical Extraction Versions of packages kernel-package recommends: ii bzip2 1.0.2-10 high-quality block-sorting file co ii libc6-dev [libc-dev] 2.3.5-8 GNU C Library: Development Librari -- no debconf information