summaryrefslogtreecommitdiff
path: root/debian/apt.conf.autoremove
diff options
context:
space:
mode:
Diffstat (limited to 'debian/apt.conf.autoremove')
-rw-r--r--debian/apt.conf.autoremove48
1 files changed, 48 insertions, 0 deletions
diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove
new file mode 100644
index 000000000..3609ca49c
--- /dev/null
+++ b/debian/apt.conf.autoremove
@@ -0,0 +1,48 @@
+APT
+{
+ NeverAutoRemove
+ {
+ "^firmware-linux.*";
+ "^linux-firmware$";
+ };
+
+ 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
+ {
+ "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";
+ };
+};