diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2022-04-06 13:51:08 +0200 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2022-04-07 13:19:52 +0200 |
| commit | 824651ded0bcf8603e9b508860b8fe5a68fc53ff (patch) | |
| tree | ea9b042a2d16cfc6723851faf87c119d03d9b78f /debian/rules | |
| parent | 023c270e27e09cad9f35908caeb933fb23f8bd79 (diff) | |
Only protect two kernels, not last installed one
The kernel autoremoval algorithm was written to accomodate
for Ubuntu's boot partition sizing, which was written to
accomodate 3 kernels - 2 installed ones + a new one being
unpacked.
It seems that when the algorithm was designed, it was overlooked
that it actually kept 3 kernels.
LP: #1968154
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 7997739fa..8a110f7a1 100755 --- a/debian/rules +++ b/debian/rules @@ -29,7 +29,6 @@ override_dh_install-arch: dh_install -papt -Xmethods/curl -Xmethods/curl+https -Xmethods/curl+http dh_install --remaining install -m 644 debian/apt.conf.autoremove debian/apt/etc/apt/apt.conf.d/01autoremove - install -m 755 debian/apt.auto-removal.sh debian/apt/etc/kernel/postinst.d/apt-auto-removal override_dh_gencontrol: dh_gencontrol -- -Vapt:keyring="$(shell ./vendor/getinfo keyring-package)" |
