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)
committerFelix Zielcke <fzielcke@z-51.de>
Wed, 11 Jun 2025 15:42:34 +0000 (17:42 +0200)
commit13b90e5ea54e58a1ad7b8e96c67afd304752aafe
treeb9baec53f857f060c1118f7856f6a2d43f136137
parentd6988b3c699e12cb7290f6d725d60907de5d71f1
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