diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2019-04-15 09:40:20 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-01-30 16:58:23 +0100 |
commit | 4f9c58d25ff52fbb69cd3439fc1484bea47e1566 (patch) | |
tree | db1c7f15f112916062cd1e0b116e0987bc58050c /debian | |
parent | faa51dcbf63cbf3593ce00495c03c27360b239b7 (diff) |
Widen regular expressions for versioned kernel packages
Since we append a concrete kernel version to each pattern, and then
anchor the pattern, let's just pick any package starting with a
kernel name (linux-, kfreebsd-, gnumach-), and not worry about
linux-headers, linux-tools, etc specifically, as they'll be caught
by the generic pattern.
LP: #1607845
Diffstat (limited to 'debian')
-rw-r--r-- | debian/apt.conf.autoremove | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove index f9d9e85d4..478c571e0 100644 --- a/debian/apt.conf.autoremove +++ b/debian/apt.conf.autoremove @@ -10,31 +10,13 @@ APT VersionedKernelPackages { - # linux kernels - "linux-image"; - "linux-headers"; - "linux-image-extra"; - "linux-modules"; - "linux-modules-extra"; - "linux-signed-image"; - "linux-image-unsigned"; - # kfreebsd kernels - "kfreebsd-image"; - "kfreebsd-headers"; - # hurd kernels - "gnumach-image"; + # kernels + "linux-.*"; + "kfreebsd-.*"; + "gnumach-.*"; # (out-of-tree) modules ".*-modules"; ".*-kernel"; - "linux-backports-modules-.*"; - "linux-modules-.*"; - # tools - "linux-tools"; - "linux-cloud-tools"; - # build info - "linux-buildinfo"; - # source code - "linux-source"; }; Never-MarkAuto-Sections |