]> git.saurik.com Git - apt.git/blobdiff - debian/apt.conf.autoremove
refactor key removal code to reuse it in next step
[apt.git] / debian / apt.conf.autoremove
index b3f4a3edd9f5f5c1330b732af458f527fc8704c9..fc02350aee5706332248674d0a537eb4047b3757 100644 (file)
@@ -4,10 +4,26 @@ APT
   {
        "^firmware-linux.*";
        "^linux-firmware$";
-       "^linux-image.*";
-       "^kfreebsd-image.*";
-       "^linux-restricted-modules.*";
-       "^linux-ubuntu-modules-.*";
+  };
+
+  VersionedKernelPackages
+  {
+       # linux kernels
+       "linux-image";
+       "linux-headers";
+       "linux-image-extra";
+       "linux-signed-image";
+       # kfreebsd kernels
+       "kfreebsd-image";
+       "kfreebsd-headers";
+       # hurd kernels
+       "gnumach-image";
+       # (out-of-tree) modules
+       ".*-modules";
+       ".*-kernel";
+       "linux-backports-modules-.*";
+        # tools
+        "linux-tools";
   };
 
   Never-MarkAuto-Sections