diff options
author | Ryan Finnie <ryan@finnie.org> | 2020-07-25 22:35:28 -0700 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2020-10-12 11:34:52 +0000 |
commit | 169645b478343b5c588ba18014433e4420e12205 (patch) | |
tree | 97a7033957c1349f90e9457691cbf070bcda283c /share | |
parent | 9536a37af08fa37c1db3cc1aa5149603215f7621 (diff) | |
download | vyos-live-build-169645b478343b5c588ba18014433e4420e12205.tar.gz vyos-live-build-169645b478343b5c588ba18014433e4420e12205.zip |
grub-efi: Show fwsetup, do not show incompatible memtest even if enabled
Diffstat (limited to 'share')
-rw-r--r-- | share/bootloaders/grub-pc/grub.cfg | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/share/bootloaders/grub-pc/grub.cfg b/share/bootloaders/grub-pc/grub.cfg index 36b6f61fb..8f54562cc 100644 --- a/share/bootloaders/grub-pc/grub.cfg +++ b/share/bootloaders/grub-pc/grub.cfg @@ -31,13 +31,20 @@ submenu 'Advanced install options ...' --hotkey=a { } fi -if @ENABLE_MEMTEST@; then submenu 'Utilities...' --hotkey=u { source /boot/grub/theme.cfg # Memtest (if any) - source /boot/grub/memtest.cfg + if [ "${grub_platform}" = "pc" ] && @ENABLE_MEMTEST@; then + source /boot/grub/memtest.cfg + fi + + # Firmware setup (UEFI) + if [ "${grub_platform}" = "efi" ]; then + menuentry "UEFI Firmware Settings" { + fwsetup + } + fi } -fi |