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

Re: Bug#425050: initramfs-tools: Ask if we should update all initramfses

On Sun, May 20, 2007 at 04:35:27PM +0200, David Härdeman <david@hardeman.nu> 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.


Reply to: