sd-boot: change name of automatic entry for rebooting into firmware
Let's stick to one nomenclature. In userspace we usually call this "reboot to firmware setup", hence use the same name in sd-boot too. This name was previously only relevant internally, but since the addition of the LoaderEntries EFI var is exposed to userspace, hence let's get this right with the first release adding this.
This commit is contained in:
+1
-1
@@ -2162,7 +2162,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) {
|
||||
UINT64 osind = (UINT64)*b;
|
||||
|
||||
if (osind & EFI_OS_INDICATIONS_BOOT_TO_FW_UI)
|
||||
config_entry_add_call(&config, L"auto-reboot-into-firmware-ui", L"Reboot Into Firmware Interface", reboot_into_firmware);
|
||||
config_entry_add_call(&config, L"auto-reboot-to-firmware-setup", L"Reboot Into Firmware Interface", reboot_into_firmware);
|
||||
FreePool(b);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user