summaryrefslogtreecommitdiff
path: root/debian/apt.conf.autoremove
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2018-10-22 11:29:30 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2019-01-09 17:47:38 +0100
commit67fdc0cf55f4e91905b16e0f582ce70999997c8d (patch)
tree7241b76db95dd3bb4cca7ef14734fc9fdbc24d03 /debian/apt.conf.autoremove
parentd6e384eca7db5ccf32405dabc0f57d292fd61e3e (diff)
NeverAutoRemove kernel meta packages
This gives more protection for people where kernel metapackages are accidentally removed. LP: #1787460 (cherry picked from commit a4b0ce5a4f5068f780b3aa94473230b5093a837d) (cherry picked from commit 890f21e846025701f4596a69399f798219357c76)
Diffstat (limited to 'debian/apt.conf.autoremove')
-rw-r--r--debian/apt.conf.autoremove2
1 files changed, 2 insertions, 0 deletions
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