This script gets a list of all linux-image-* that have added files to /boot except for the latest and (if different) currently running kernel, them removes the rest.
If this was part of the post-install script for kernel packages, then you'd only have 2 kernels installed at once, and /boot would never fill up. https://gist.github.com/marxjohnson/5f0f0607255951ee0e7a -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1067106 Title: possible to run out of space on /boot partition when installed using auto recipe & full-disk-encryption To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/partman-auto-crypto/+bug/1067106/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs