From: Lennart Poettering Date: Mon, 22 Oct 2018 19:51:47 +0000 (+0200) Subject: sd-boot: change name of automatic entry for rebooting into firmware X-Git-Tag: v240~305^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b58c7351c098916ad45af38b1d34565b98055da0;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index 909cf914a63..b64c0376e0a 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -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); }