diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-09-08 12:49:04 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-09-14 15:22:18 +0200 |
commit | 3196dae8e92407b3aa8e12779a8ed7db998ebdc4 (patch) | |
tree | e8f2b6bb7276294ce17572d1c71bd5f1f0f5b8d2 /cmdline | |
parent | 8f5b67ae1488f5addc70b337aea7aa1ced168550 (diff) |
select kernels to protect from autoremove based on Debian version
This is basically a rewrite of the script with the general idea of
finding the Debian version of the installed kernels – as multiple
flavours will have the same Debian version – select the two newest of
them and translate them back to versions found in package names.
This way we avoid e.g. kernel and kernel-rt to use up the protected
slots even through they are basically the same kernel (just a different
flavour) so it is likely that if kernel doesn't work for some reason,
kernel-rt will not either.
This also deals with foreign kernel packages, kernels on hold and partly
installed kernels (in case multiple kernels are installed in the same
apt run) in a hopefully sensible way.
Closes: 787827
Diffstat (limited to 'cmdline')
0 files changed, 0 insertions, 0 deletions