I think this script runs update-grub after every remove of kernel:
/etc/kernel/postinst.d/zz-update-grub. Would it be possible to use an
environment variable that makes it possible to skip that post-
installation script, and run update-grub manually after last removal, if
wanted?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1462596

Title:
  apt-get autoremove takes quadratically long

Status in initramfs-tools package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  apt-get autoremove regenerates the initrd after removing each kernel.
  Since you generally call this command only when your boot volume is
  full of old kernels, it seems sub-optimal to regenerate the initrd
  eight times when removing eight kernels.  Could something be done with
  triggers to do a single regeneration of the initrd at the end?

  This is in 14.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1462596/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to