summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorjnqnfe <jnqnfe@gmail.com>2015-01-11 21:20:14 +0000
committerLyndon Brown <jnqnfe@gmail.com>2020-03-16 16:29:00 +0000
commit636e52c36e008da8be3e168f30fae45d49c039c2 (patch)
tree3472d7947b742ac33ecdac303f17e81e07a0343b /scripts/build
parent464c7a6946cc82657b73fd0051e20c75fcae120c (diff)
downloadvyos-live-build-636e52c36e008da8be3e168f30fae45d49c039c2.tar.gz
vyos-live-build-636e52c36e008da8be3e168f30fae45d49c039c2.zip
grub2/loopback: fix misapplication of quiet kernel parameter
When building grub2 menu entries the quiet param (meant for d-i) was excluded from the rescue menu entries instead of expert. This is the opposite to what is done in the following: - Menu entries seen in official debian 7.7 disc images (grub2 and syslinux configs) - Menu entries created for grub (legacy) - Menu entries created for syslinux The evidence strongly suggests that the grub2 menu creation was in the wrong! (See #775143) Gbp-Dch: Short
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/binary_loopback_cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/binary_loopback_cfg b/scripts/build/binary_loopback_cfg
index ad16f5c26..575740b0b 100755
--- a/scripts/build/binary_loopback_cfg
+++ b/scripts/build/binary_loopback_cfg
@@ -72,9 +72,9 @@ Grub_install_entry ()
INITRD="${4}"
APPEND="${5}"
- # Drop "quiet" kernel parameter for rescue entries
+ # Drop "quiet" kernel parameter for expert entries
case $TYPE in
- rescue|rescuegui)
+ expert|expertgui)
APPEND=$(echo "$APPEND" | sed -e 's/ quiet//')
;;
esac