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

Bug#600937: Please disable /etc/kernel postinst hook if the target kernel is non-modular



On Thu, Oct 21, 2010 at 05:09:35PM +0100, Guido Trotter wrote:
> Package: initramfs-tools
> Version: 0.98.4
> Severity: minor
> Tags: patch
> 
> If I try to install a non-modular kernel
> /etc/kernel/postinst.d/initramfs-tools tries to build an initrd image
> and fails, because no modules are found. Please apply the attached patch
> (or a similar one) to disable it for that case.

I don't think this patch is correct.  An initramfs may still be needed for a
non-modular kernel if, for instance, the root filesystem is encrypted and
you need to prompt for a passphrase.  Instead we need to fix
update-initramfs itself to not fail on a non-modular kernel.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: