]> git.saurik.com Git - apt.git/blobdiff - debian/apt.conf.autoremove
use a configurable list of versioned kernel packages
[apt.git] / debian / apt.conf.autoremove
index 713dcdda67895f545fa00d068f33eae68738ba26..ea68f88fc2fbe3f81c8b826e419e8e6d6e293acc 100644 (file)
@@ -1,10 +1,32 @@
 APT
 {
+  NeverAutoRemove
+  {
+       "^firmware-linux.*";
+       "^linux-firmware$";
+       "^kfreebsd-image.*";
+       "^gnumach$";
+       "^gnumach-image.*";
+  };
+
+  VersionedKernelPackages
+  {
+       "linux-image";
+       "linux-image-extra";
+       "linux-signed-image";
+       "linux-backports-modules-.*";
+       "linux-headers";
+  };
+
   Never-MarkAuto-Sections
-  { 
+  {
        "metapackages";
-        "restricted/metapackages";
-        "universe/metapackages";
-        "multiverse/metapackages";
+       "restricted/metapackages";
+       "universe/metapackages";
+       "multiverse/metapackages";
+       "oldlibs";
+       "restricted/oldlibs";
+       "universe/oldlibs";
+       "multiverse/oldlibs";
   };
 };