From dae27c67f2219d9387274660529113cdb81a15c3 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Mon, 10 Mar 2014 21:12:59 +0100 Subject: add ".*-{kernel,modules}-$KERVER" matcher for hook Pre-build kernel modules (like those build with module-assistent) are commonly named in this way and it should be ungeneric enough to be added by default for everyone. --- debian/apt.conf.autoremove | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'debian/apt.conf.autoremove') diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove index 5b958c716..cf69d56c3 100644 --- a/debian/apt.conf.autoremove +++ b/debian/apt.conf.autoremove @@ -8,14 +8,20 @@ APT VersionedKernelPackages { + # linux kernels "linux-image"; "linux-headers"; "linux-image-extra"; "linux-signed-image"; - "linux-backports-modules-.*"; + # kfreebsd kernels "kfreebsd-image"; "kfreebsd-headers"; + # hurd kernels "gnumach-image"; + # (out-of-tree) modules + ".*-modules"; + ".*-kernel"; + "linux-backports-modules-.*"; }; Never-MarkAuto-Sections -- cgit v1.2.3-70-g09d2