From: David Kalnischkies Date: Mon, 10 Mar 2014 20:12:59 +0000 (+0100) Subject: add ".*-{kernel,modules}-$KERVER" matcher for hook X-Git-Tag: 0.9.16~2^2~12 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/dae27c67f2219d9387274660529113cdb81a15c3 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. --- 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