Comment 11 for bug 1250109

Revision history for this message
Julian Andres Klode (juliank) wrote :

update-initramfs -c call by kernel postinst hook is not covered, but we need to make sure the initramfs is there at kernel configuration point because we need it to be there when updating boot loaders.

e.g. if we triggered both in that case, update-grub could run before update-initramfs.

if we included an initramfs-tools hook to run update-grub, update-grub could be run twice but update-initramfs only once.

I propose we keep this bug for grub2 change to match upstream, but it may be worth revisiting how we can merge update-initramfs -c and update-initramfs -u calls when updating kernels and other packages touching initramfs in one session.