From 824651ded0bcf8603e9b508860b8fe5a68fc53ff Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 6 Apr 2022 13:51:08 +0200 Subject: Only protect two kernels, not last installed one The kernel autoremoval algorithm was written to accomodate for Ubuntu's boot partition sizing, which was written to accomodate 3 kernels - 2 installed ones + a new one being unpacked. It seems that when the algorithm was designed, it was overlooked that it actually kept 3 kernels. LP: #1968154 --- debian/apt.maintscript | 1 + 1 file changed, 1 insertion(+) (limited to 'debian/apt.maintscript') diff --git a/debian/apt.maintscript b/debian/apt.maintscript index 296f83bd5..f37a9e27a 100644 --- a/debian/apt.maintscript +++ b/debian/apt.maintscript @@ -1,3 +1,4 @@ rm_conffile /etc/apt/apt.conf.d/20changelog 1.2.4~ # we use a systemd timer unit now rm_conffile /etc/cron.daily/apt 1.2.10~ +rm_conffile /etc/kernel/postinst.d/apt-auto-removal 2.4.5~ -- cgit v1.2.3-70-g09d2