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. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu. https://bugs.launchpad.net/bugs/1250109 Title: Please use dpkg-triggers for update-grub when installing or removing kernel packages Status in grub2 package in Ubuntu: In Progress Status in initramfs-tools package in Ubuntu: Fix Released Status in linux package in Ubuntu: Invalid Status in grub2 package in Debian: Won't Fix Bug description: Currently the kernel package runs update-grub every time one is installed or removed. This results in it being run a dozen times during a dist-upgrade, and this is rather time consuming and annoying. Please use a dpkg trigger to cause update-grub to be run only once. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1250109/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp