FYI this was a fairly straight forward theft of the code from update- initramfs to do the same and I tested by removing several old kernels and seeing that it only ran update-grub once, then installing ( and reinstalling ) a new kernel and seeing that it still ran once. Also manual invocation of update-grub still works.
-- 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 Status in grub2 package in Ubuntu: Triaged Status in initramfs-tools package in Ubuntu: Triaged Status in linux package in Ubuntu: Triaged 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 : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

