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> | 2018-10-22 11:29:30 +0200 |
commit | a4b0ce5a4f5068f780b3aa94473230b5093a837d (patch) | |
tree | 27a312932d739ae1646be4e9ee651023b0f9c2f1 | |
parent | b80e48783c183aeaf1d30d898a7743f091d96336 (diff) |
NeverAutoRemove kernel meta packages
This gives more protection for people where kernel metapackages
are accidentally removed.
LP: #1787460
-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 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 |