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 <dannym@scratchpost.org>master
parent
c9ea88734b
commit
b0d09586b1
|
@ -384,7 +384,13 @@ set timeout=~a~%"
|
||||||
submenu \"GNU system, old configurations...\" {~%")
|
submenu \"GNU system, old configurations...\" {~%")
|
||||||
#$@(map menu-entry->gexp old-entries)
|
#$@(map menu-entry->gexp old-entries)
|
||||||
(format port "}~%"))
|
(format port "}~%"))
|
||||||
#~()))))
|
#~())
|
||||||
|
(format port "
|
||||||
|
if [ \"${grub_platform}\" == efi ]; then
|
||||||
|
menuentry \"Firmware setup\" {
|
||||||
|
fwsetup
|
||||||
|
}
|
||||||
|
fi~%"))))
|
||||||
|
|
||||||
(computed-file "grub.cfg" builder))
|
(computed-file "grub.cfg" builder))
|
||||||
|
|
||||||
|
|
Reference in New Issue