]> git.saurik.com Git - apt.git/blobdiff - debian/apt.conf.autoremove
fix test-failure in adt
[apt.git] / debian / apt.conf.autoremove
index 3a9945b54d103d307c1b2b9fed04bdacd005c041..cf69d56c3d6d24efeb2e6d5fc8c3b10f0cbe00a2 100644 (file)
@@ -1,11 +1,38 @@
 APT
 {
 APT
 {
-  NeverAutoRemove  
-  { 
-       "^linux-image.*";  
-       "^linux-restricted-modules.*";
+  NeverAutoRemove
+  {
+       "^firmware-linux.*";
+       "^linux-firmware$";
   };
 
   };
 
-  Install-Recommends-Section "metapackages";
-  Never-MarkAuto-Section "metapackages";
+  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-.*";
+  };
+
+  Never-MarkAuto-Sections
+  {
+       "metapackages";
+       "restricted/metapackages";
+       "universe/metapackages";
+       "multiverse/metapackages";
+       "oldlibs";
+       "restricted/oldlibs";
+       "universe/oldlibs";
+       "multiverse/oldlibs";
+  };
 };
 };