]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-boot: change name of automatic entry for rebooting into firmware
authorLennart Poettering <lennart@poettering.net>
Mon, 22 Oct 2018 19:51:47 +0000 (21:51 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 16 Nov 2018 14:47:18 +0000 (15:47 +0100)
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.

src/boot/efi/boot.c

index 909cf914a63b209a21e06c315d04b2837091d8c3..b64c0376e0a6b163b47bf878a7bce8ae6f0380db 100644 (file)
@@ -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);
         }