]> git.saurik.com Git - apt.git/commitdiff
add ".*-{kernel,modules}-$KERVER" matcher for hook
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 10 Mar 2014 20:12:59 +0000 (21:12 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 13 Mar 2014 12:58:46 +0000 (13:58 +0100)
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

index 5b958c71606144493ef38f2415f2543cbe1a74fc..cf69d56c3d6d24efeb2e6d5fc8c3b10f0cbe00a2 100644 (file)
@@ -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