X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/f2125ef16eeacb3c029db59ff2f677cfd9703392..291a386f1e65c40a1acb01a9a5614ad00efc509d:/debian/apt.conf.autoremove diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove index 3a9945b54..cf69d56c3 100644 --- a/debian/apt.conf.autoremove +++ b/debian/apt.conf.autoremove @@ -1,11 +1,38 @@ 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"; + }; };