From 4f9c58d25ff52fbb69cd3439fc1484bea47e1566 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 15 Apr 2019 09:40:20 +0200 Subject: 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 --- debian/apt.conf.autoremove | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) (limited to 'debian') 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 -- cgit v1.2.3