On Sun, May 20, 2007 at 04:35:27PM +0200, David Härdeman <[EMAIL PROTECTED]> wrote: > On Sun, May 20, 2007 at 11:08:02AM +0200, martin f krafft wrote: > >Anyway, I propose that update-initramfs just loses the -k switch or > >provides a new wrapper that packages like cryptsetup and mdadm just > >call without worrying whether it will update all initrds or just the > >current one. > > I agree...use a debconf or config file option, then let packages call > update-initramfs with a new option (let's call it "-p") and the option > will be automatically honoured so that one or all initramfs images are > rebuilt.
That sounds to me like addressing the wrong problem. Maybe what should be done is that update-initramfs updates *all* the images, whatever happens, but a copy of the kernel and initramfs images used to boot the system as it is at the moment should be kept somewhere and a special grub/lilo/whatever item like "Last successful boot setup" should be added using these. Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]