summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-03-10 21:12:59 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-03-13 13:58:46 +0100
commitdae27c67f2219d9387274660529113cdb81a15c3 (patch)
treee09b920e05b6e58a615aab52f341826cb7efe86f
parent33677a0cddd552f96963eac6dc74d8ffe9c1f2f6 (diff)
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.
-rw-r--r--debian/apt.conf.autoremove8
1 files changed, 7 insertions, 1 deletions
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