Re: [PATCH 1/2] templates: Check for EFI at runtime instead of config generation time

2021-07-07 Thread Daniel Kiper
On Tue, Jul 06, 2021 at 11:02:14AM +0200, Javier Martinez Canillas wrote: > The 30_uefi-firmware template checks if an OsIndicationsSupported UEFI var > exists and EFI_OS_INDICATIONS_BOOT_TO_FW_UI bit is set, to decide whether > a "fwsetup" menu entry would be added or not to the GRUB menu. > > But

[PATCH 1/2] templates: Check for EFI at runtime instead of config generation time

2021-07-06 Thread Javier Martinez Canillas
The 30_uefi-firmware template checks if an OsIndicationsSupported UEFI var exists and EFI_OS_INDICATIONS_BOOT_TO_FW_UI bit is set, to decide whether a "fwsetup" menu entry would be added or not to the GRUB menu. But this has the problem that it will only work if the configuration file was created