update-initramfs: Generating /boot/initrd.img-3.2.0-18-generic
[...]
So the grub update knows to take care of replacing the /etc/kernel-img.conf line with a proper /etc/kernel hook, but then nothing ensures this is called after the kernel upgrade. The kernel postinst calls update-grub too early, and it's not called again after upgrade.
We should probably just have grub call update-grub in the postinst when the upgrade handling is triggered.
//
grub (0.97-29ubuntu66) precise; urgency=low
* When we replace the /etc/kernel-img.conf hook with the
/etc/kernel/postinst.d hook on upgrade, also call update-grub manually;
otherwise if the kernel was upgraded before grub itself, update-grub may
only be called before update-initramfs (due to triggerization of the
latter), giving us an unbootable default entry in menu.lst.
LP:
#957262.
Bookmarks