summaryrefslogtreecommitdiff
path: root/scripts/build/binary_grub-legacy
diff options
context:
space:
mode:
authorjnqnfe <jnqnfe@gmail.com>2015-01-11 21:25:18 +0000
committerLyndon Brown <jnqnfe@gmail.com>2020-03-16 16:29:00 +0000
commitaadf8c4cacecc4664412c6bbc7b8e039e1dd772a (patch)
tree04396c78ef5451ac978718cc142b76c56022efd5 /scripts/build/binary_grub-legacy
parenta33938f8d47f23c23335ecf671b1db9afcd0b726 (diff)
downloadvyos-live-build-aadf8c4cacecc4664412c6bbc7b8e039e1dd772a.tar.gz
vyos-live-build-aadf8c4cacecc4664412c6bbc7b8e039e1dd772a.zip
grub1/grub2/loopback: fix missing delimiter in menu kernel parameter lists
The '---' delimiter should appear before the final 'quiet' parameter (which is used by the debian installer I believe). This delimiter is added by live-build in syslinux configs, and is present in both grub2 and syslinux configs in an official debian 7.7 disc image, suggesting strongly that live-build grub/grub2 menu creation code is in the wrong here by missing it. update: this commit previously used -- as was correct at the time, and has since been updated to use --- per #775128; which was previously tackled in a separate later commit. the switch to --- was already done for syslinux (which was not missing the delimiter unlike grub) in ba6b9adeff634845a9ab7cbd5218257a7aa254ab Gbp-Dch: Short Closes: #775143
Diffstat (limited to 'scripts/build/binary_grub-legacy')
-rwxr-xr-xscripts/build/binary_grub-legacy3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/build/binary_grub-legacy b/scripts/build/binary_grub-legacy
index c0b74888c..39d647a02 100755
--- a/scripts/build/binary_grub-legacy
+++ b/scripts/build/binary_grub-legacy
@@ -67,7 +67,7 @@ Grub_install_entry ()
INITRD="${3}"
APPEND="${4}"
- QAPPEND="quiet"
+ QAPPEND="--- quiet"
for TYPE in Install Expert Rescue Auto
do
@@ -98,7 +98,6 @@ Grub_install_entry ()
;;
esac
-
LINUX_INSTALL="${LINUX_INSTALL}\ntitle\t\t${LABEL} ${TYPE}"
LINUX_INSTALL="${LINUX_INSTALL}\nkernel\t\t/${KERNEL} ${TAPPEND}"
LINUX_INSTALL="${LINUX_INSTALL}\ninitrd\t\t/${INITRD}"