summaryrefslogtreecommitdiff
path: root/debian
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-14 14:03:43 +0100
commit750fd901a99b9110aebe9c634d11822d7c415f8b (patch)
treef1db751921c158fc654ba11ad397dfc9c9a26dab /debian
parent5629f35ecb7956b180364ebaf57e79f35885344e (diff)
NeverAutoRemove kernel meta packages
This gives more protection for people where kernel metapackages are accidentally removed. LP: #1787460 (cherry picked from commit a4b0ce5a4f5068f780b3aa94473230b5093a837d)
Diffstat (limited to 'debian')
-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