summaryrefslogtreecommitdiffstats
path: root/debian/apt.conf.autoremove
diff options
context:
space:
mode:
Diffstat (limited to 'debian/apt.conf.autoremove')
-rw-r--r--debian/apt.conf.autoremove41
1 files changed, 41 insertions, 0 deletions
diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove
new file mode 100644
index 0000000..478c571
--- /dev/null
+++ b/debian/apt.conf.autoremove
@@ -0,0 +1,41 @@
+APT
+{
+ NeverAutoRemove
+ {
+ "^firmware-linux.*";
+ "^linux-firmware$";
+ "^linux-image-[a-z0-9]*$";
+ "^linux-image-[a-z0-9]*-[a-z0-9]*$";
+ };
+
+ VersionedKernelPackages
+ {
+ # kernels
+ "linux-.*";
+ "kfreebsd-.*";
+ "gnumach-.*";
+ # (out-of-tree) modules
+ ".*-modules";
+ ".*-kernel";
+ };
+
+ Never-MarkAuto-Sections
+ {
+ "metapackages";
+ "contrib/metapackages";
+ "non-free/metapackages";
+ "restricted/metapackages";
+ "universe/metapackages";
+ "multiverse/metapackages";
+ };
+
+ Move-Autobit-Sections
+ {
+ "oldlibs";
+ "contrib/oldlibs";
+ "non-free/oldlibs";
+ "restricted/oldlibs";
+ "universe/oldlibs";
+ "multiverse/oldlibs";
+ };
+};