Browse Source

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.
David Kalnischkies 10 years ago
parent
commit
dae27c67f2
1 changed files with 7 additions and 1 deletions
  1. 7 1
      debian/apt.conf.autoremove

+ 7 - 1
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