diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2018-10-22 11:29:30 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-03-01 11:41:24 +0000 |
commit | b8d1a3a6834466ae3837d8e4b0bf4fd5275cd343 (patch) | |
tree | e9286c0f41a863c27bf3f6214df5b47bef739c00 /debian | |
parent | cc67debf273087c44f39a63363553577eb0fcb9c (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)
Diffstat (limited to 'debian')
-rw-r--r-- | debian/apt.conf.autoremove | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove index fc02350ae..e6c4cb8ce 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 |