On UEFI systems there are two locations grub is installed in:
in a per-distribution directory (e.g. /EFI/opensuse) and
the default location as per UEFI spec (EFI/boot<archstring>.efi)
Updating grub on UEFI systems should update both locations. shim does this already. This patch does the same on non-secure boot systems: the default location is updated if it is signed by SUSE.
Task
Port https://github.com/openSUSE/perl-bootloader/pull/147 to Tumbleweed/master.
Original problem
On UEFI systems there are two locations grub is installed in:
/EFI/opensuse
) andEFI/boot<archstring>.efi
)Updating grub on UEFI systems should update both locations. shim does this already. This patch does the same on non-secure boot systems: the default location is updated if it is signed by SUSE.