summaryrefslogtreecommitdiff
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-03-01 10:04:22 +0100
commitff8912cc5b770a5fccdce12ebf0450cee1236650 (patch)
tree5c00274cb76d192085d461f75cecbbcd9c786b62
parent3bcecba71aa89511b17a8dbd9e176d8e88dc8be3 (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) (cherry picked from commit 67fdc0cf55f4e91905b16e0f582ce70999997c8d)
-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