From 750fd901a99b9110aebe9c634d11822d7c415f8b Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 22 Oct 2018 11:29:30 +0200 Subject: NeverAutoRemove kernel meta packages This gives more protection for people where kernel metapackages are accidentally removed. LP: #1787460 (cherry picked from commit a4b0ce5a4f5068f780b3aa94473230b5093a837d) --- debian/apt.conf.autoremove | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove index 6c6767bb9..f7775b183 100644 --- a/debian/apt.conf.autoremove +++ b/debian/apt.conf.autoremove @@ -4,6 +4,8 @@ APT { "^firmware-linux.*"; "^linux-firmware$"; + "^linux-image-[a-z0-9]*$"; + "^linux-image-[a-z0-9]*-[a-z0-9]*$"; }; VersionedKernelPackages -- cgit v1.2.3