From b0d09586b1092ad15496ed08bb7631eaa8dc9a86 Mon Sep 17 00:00:00 2001 From: Brice Waegeneire Date: Thu, 12 Dec 2019 20:53:06 +0100 Subject: bootloader: grub: Add firmware setup entry. * gnu/bootloader/grub.scm (grub-configuration-file): Add 'Firmware setup' entry for EFI platform. Signed-off-by: Danny Milosavljevic --- gnu/bootloader/grub.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/bootloader') diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm index d984d5f5e3..fd62f627a0 100644 --- a/gnu/bootloader/grub.scm +++ b/gnu/bootloader/grub.scm @@ -384,7 +384,13 @@ set timeout=~a~%" submenu \"GNU system, old configurations...\" {~%") #$@(map menu-entry->gexp old-entries) (format port "}~%")) - #~())))) + #~()) + (format port " +if [ \"${grub_platform}\" == efi ]; then + menuentry \"Firmware setup\" { + fwsetup + } +fi~%")))) (computed-file "grub.cfg" builder)) -- cgit 1.4.1