summaryrefslogtreecommitdiff
path: root/debian/shim-signed.postrm
AgeCommit message (Collapse)Author
2023-02-23postinst/postrm: make config_item() more robustSteve McIntyre
2021-07-12Tweak how we call grub-install; don't abort on errorSteve McIntyre
Not ideal behaviour either, but don't break upgrades. Copy the behaviour from the grub packages here. Closes: #990984
2021-05-06Add defensive code around calls to db_getSteve McIntyre
Don't fail if they return errors. Closes: #988114
2021-05-04Fix the old doc links for shim-signed. Closes: #988057Steve McIntyre
2021-05-04If we're not running on an EFI system then exit cleanlySteve McIntyre
in postinst and postrm. We have nothing to do here. Closes: #988059
2021-05-03Only run grub-install if we're actually running on an EFI systemSteve McIntyre
Try to avoid errors if people are doing weird things
2021-05-03Also add a shim-signed.postrmSteve McIntyre
Similarly to the postinst, we need to call grub-install to ensure the boot chain is correct. If we're being remove, *again* work out the right grub EFI target arch and the grub-install options so we can call grub-install safely. Also: grub-install won't clean up after us if we've been uninstalled, so also go and remove the shim binary from the ESP.