X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/0205540433440a9ff4ad4ea4cce44c700a4b401c..dae27c67f2219d9387274660529113cdb81a15c3:/debian/apt.conf.autoremove diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove index b3f4a3edd..cf69d56c3 100644 --- a/debian/apt.conf.autoremove +++ b/debian/apt.conf.autoremove @@ -4,10 +4,24 @@ APT { "^firmware-linux.*"; "^linux-firmware$"; - "^linux-image.*"; - "^kfreebsd-image.*"; - "^linux-restricted-modules.*"; - "^linux-ubuntu-modules-.*"; + }; + + 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