Deal with --force-extra-removable with signed shim too
authorSteve McIntyre <93sam@debian.org>
Fri, 14 Jun 2019 15:37:11 +0000 (16:37 +0100)
committerJulian Andres Klode <jak@debian.org>
Sun, 2 Nov 2025 11:08:11 +0000 (12:08 +0100)
commit862dd13ace93d68cd39e711876c8cd61b0d0f56d
tree40ad25365449326264b8a76ee76098e7da8db019
parentec50d8ea7ac434fa3610401847190bc54e20a4d9
Deal with --force-extra-removable with signed shim too

In this case, we need both the signed shim as /EFI/BOOT/BOOTXXX.EFI
and signed Grub as /EFI/BOOT/grubXXX.efi.

Also install the BOOTXXX.CSV into /EFI/debian, and FBXXX.EFI into
/EFI/BOOT/ so that it can work when needed (*iff* we're updating the
NVRAM).

[cjwatson: Refactored also_install_removable somewhat for brevity and so
that we're using consistent case-insensitive logic.]

Bug-Debian: https://bugs.debian.org/930531
Last-Update: 2021-09-24

Patch-Name: grub-install-removable-shim.patch

Gbp-Pq: Name grub-install-removable-shim.patch
util/grub-install.c