support kfreebsd and hurd in the kernel hook
[ntk/apt.git] / debian / apt.conf.autoremove
index ebe49c7..5b958c7 100644 (file)
@@ -4,11 +4,18 @@ APT
   {
        "^firmware-linux.*";
        "^linux-firmware$";
-       "^linux-image.*";
-       "^kfreebsd-image.*";
-       "^linux-restricted-modules.*";
-       "^linux-ubuntu-modules-.*";
-       "^gnumach$";
+  };
+
+  VersionedKernelPackages
+  {
+       "linux-image";
+       "linux-headers";
+       "linux-image-extra";
+       "linux-signed-image";
+       "linux-backports-modules-.*";
+       "kfreebsd-image";
+       "kfreebsd-headers";
+       "gnumach-image";
   };
 
   Never-MarkAuto-Sections