summaryrefslogtreecommitdiff
path: root/debian/apt.auto-removal.sh
Commit message (Collapse)AuthorAgeFilesLines
* only consider versioned kernel packages in autoremoveDavid Kalnischkies2014-03-211-1/+1
| | | | | | | | | | | | Metapackages like "linux-image-amd64" are otherwise matched by our extraction as well, which later on can't be successfully compared via dpkg --compare-versions as the 'amd64' bit isn't a version number. (Luckily none of our architectures starts with a digit.) This was broken by me in 0.9.16 as I moved a shell-glob matcher to a regex-based one which has slightly different semantics regarding '*'. Closes: 741962
* ensure that a dot is a dot in the hookDavid Kalnischkies2014-03-131-5/+2
| | | | | | As we deal with regex matchers here the dots are treated as wildcards if we don't take care of escaping them. Not very likely that this could be a real-world problem, but just to be sure.
* support kfreebsd and hurd in the kernel hookDavid Kalnischkies2014-03-131-11/+5
| | | | | | kfreebsd as well as hurd kernel packages call the postinst script as well so we just need to enable the correct parsing for installed packages and disable the "protect every version" hammer for them.
* use a configurable list of versioned kernel packagesDavid Kalnischkies2014-03-131-10/+11
| | | | | | With APT::VersionedKernelPackages users have the option of adding packages like pre-build out-of-tree modules to the list of automatically protected from being autoremoved.
* debian/apt.auto-removal.sh:Michael Vogt2013-07-231-1/+1
| | | | | | * debian/apt.auto-removal.sh: - do not include debug symbol packages for the kernel in the blacklist (closes: #717616)
* debian/apt.auto-removal.sh: merge the remaining bitsMichael Vogt2013-07-111-3/+3
|
* * Fix up two things in debian/apt.auto-removal.sh:Adam Conrad2013-07-111-3/+4
| | | | | | | | | | - Use exact matches with $-terminated regexes, so we don't get confusion between similarly-named kernel flavours. - Keep linux-backports-modules in sync with installed kernels. Conflicts: configure.in debian/changelog doc/apt-verbatim.ent
* get dpkg from apt-config as well and add robustness against missing/failing ↵Michael Vogt2013-07-111-3/+10
| | | | | | | apt-config (for paranoia) Conflicts: debian/apt.auto-removal.sh
* Make sure we always have at least two kernels marked not for removalSteve Langasek2013-07-111-0/+18
|
* cherry pick 39a07ec8f2c612a5af234c7713571362f7ca90b4Steve Langasek2013-07-111-0/+67