summaryrefslogtreecommitdiff
path: root/debian/shim-signed-common.postinst
AgeCommit message (Collapse)Author
2021-05-03Move grub-install bits from the -common postinstSteve McIntyre
There's no guarantee that it will be called when needed, so switch to the binary packages instead.
2021-05-03Important bugfixes for shim-signed-common.postinstSteve McIntyre
As we're calling grub-install and specifying the target EFI arch, make sure that we're using the *right* EFI arch. If we're on a mixed-mode x86 system (32-bit UEFI, 64-bit CPU), that means that we need to be specifying i386-efi here. Also check to see if grub-efi has been configured to use --force-extra-removable or --no-nvram. If we're calling grub-install here, then it's important we follow the same rules or we may end up breaking installations. :-/
2019-05-27Separate the helper scripts into a new shim-signed-common packageSteve McIntyre
Separate this from the actual signed shim binaries so that we can sensibly support co-installability using Multi-Arch. Closes: #928486