summaryrefslogtreecommitdiff
path: root/share/bootloaders/grub-pc
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-24 22:19:16 +0000
committerRaphaƫl Hertzog <raphael@offensive-security.com>2020-04-23 09:59:51 +0200
commit457e800c940136425663b14e8e5c154ced184b63 (patch)
treeeb9c245a9bff834fe56bca4b4866ec1521e14ea0 /share/bootloaders/grub-pc
parent33af87e047c0529ab068bd834b45b59eac4e73ac (diff)
downloadvyos-live-build-457e800c940136425663b14e8e5c154ced184b63.tar.gz
vyos-live-build-457e800c940136425663b14e8e5c154ced184b63.zip
grub2|loopback: move advanced installer entries under own submenu
this takes a step forward in moving towards the same updated layout as with syslinux; here we get: - <live entries> - Start installer - Advanced install options... - <full set of install options> - Advanced options... - Memory Diagnostic Tool (memtest86[+]) note that this only affects the default menu. custom configs are not affected by this change. further steps to complete the move to the updated layout will follow later. "Advanced options..." should perhaps be renamed later. Gbp-Dch: Short
Diffstat (limited to 'share/bootloaders/grub-pc')
-rw-r--r--share/bootloaders/grub-pc/grub.cfg9
1 files changed, 8 insertions, 1 deletions
diff --git a/share/bootloaders/grub-pc/grub.cfg b/share/bootloaders/grub-pc/grub.cfg
index d4a51e96f..8690b097b 100644
--- a/share/bootloaders/grub-pc/grub.cfg
+++ b/share/bootloaders/grub-pc/grub.cfg
@@ -45,13 +45,20 @@ play 960 440 1 0 4 440 1
# }
# Installer (if any)
+if @ENABLE_INSTALL_MENU@; then
+
@LINUX_INSTALL@
-submenu 'Advanced options...' --hotkey=a {
+submenu 'Advanced install options...' {
# More installer entries (if any)
@LINUX_ADVANCED_INSTALL@
+}
+fi
+
+submenu 'Advanced options...' --hotkey=a {
+
# Memtest (if any)
@MEMTEST@