Package: initramfs-tools Version: 0.85g (and as I can see also 0.89) Severity: normal
When running mkinitramfs or mkinitramfs-kpkg they both fail if the current running kernel isn't compiled with modules support and therefore the directory for modules doesn't exist. The problem lies in the fact that the program wants to have /lib/modules/${version}/ directory present (even if it's empty), what is not the case in kernels without modules. A dirty (but perfectly working) workaround is to run mkdir before trying to use mkinitramfs (or installing a custom made kernel package made with make-kpkg with --initrd switch). A patch would be to just remove lines from 147 to 150 in "mkinitramfs" that say: if [ ! -e "${MODULESDIR}" ]; then echo "Cannot find ${MODULESDIR}" exit 1 fi -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-usura Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]