summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRaphaël Hertzog <raphael@offensive-security.com>2020-01-23 16:47:04 +0100
committerRaphaël Hertzog <raphael@offensive-security.com>2020-01-23 16:47:04 +0100
commit21272834943e40edc6772fcac391cba35a3b00fd (patch)
treebdea35720a07060e635b58eea3b0b3a3b636f4f4 /scripts
parentbe5aaa0c51ffda29eda3367ea4f7f699dde5e9b2 (diff)
downloadvyos-live-build-21272834943e40edc6772fcac391cba35a3b00fd.tar.gz
vyos-live-build-21272834943e40edc6772fcac391cba35a3b00fd.zip
Standardize on having the GUI installation first in boot menus
debian-cd changed it that way, we already have it that way in EFI boot, let's be consistent.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/binary_grub-legacy8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/binary_grub-legacy b/scripts/build/binary_grub-legacy
index fea9b7b6a..181e68ada 100755
--- a/scripts/build/binary_grub-legacy
+++ b/scripts/build/binary_grub-legacy
@@ -215,14 +215,14 @@ then
INITRD_GI="install/gtk/initrd.gz"
APPEND_GI="video=vesa:ywrap,mtrr vga=788"
- if [ -f "binary/${VMLINUZ_DI}" ] && [ -f "binary/${INITRD_DI}" ]
+ if [ -f "binary/${VMLINUZ_GI}" ] && [ -f "binary/${INITRD_GI}" ]
then
- Grub_install_entry "Text" "${VMLINUZ_DI}" "${INITRD_DI}" "${APPEND_DI}"
+ Grub_install_entry "GUI" "${VMLINUZ_GI}" "${INITRD_GI}" "${APPEND_GI}"
fi
- if [ -f "binary/${VMLINUZ_GI}" ] && [ -f "binary/${INITRD_GI}" ]
+ if [ -f "binary/${VMLINUZ_DI}" ] && [ -f "binary/${INITRD_DI}" ]
then
- Grub_install_entry "GUI" "${VMLINUZ_GI}" "${INITRD_GI}" "${APPEND_GI}"
+ Grub_install_entry "Text" "${VMLINUZ_DI}" "${INITRD_DI}" "${APPEND_DI}"
fi
fi