summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_syslinux
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-15 13:19:04 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:23 +0100
commit310ef6803685b8f6e531b90b6f6b938541a356e1 (patch)
tree2264257a8660801749463162f77c1d7332941bba /scripts/build/lb_binary_syslinux
parent1858362d785e41eeb843c75b8c534da4563404b2 (diff)
downloadvyos-live-build-310ef6803685b8f6e531b90b6f6b938541a356e1.tar.gz
vyos-live-build-310ef6803685b8f6e531b90b6f6b938541a356e1.zip
Fixing lb_binary_syslinux to add quiet for the default live entries.
Diffstat (limited to 'scripts/build/lb_binary_syslinux')
-rwxr-xr-xscripts/build/lb_binary_syslinux5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/build/lb_binary_syslinux b/scripts/build/lb_binary_syslinux
index 8e28634ce..a613381f1 100755
--- a/scripts/build/lb_binary_syslinux
+++ b/scripts/build/lb_binary_syslinux
@@ -90,6 +90,9 @@ Syslinux_live_entry ()
INITRD="${4}"
APPEND="${5}"
+ # Boot in quiet mode where appropriate
+ QAPPEND="quiet"
+
case "${LB_BINARY_IMAGES}" in
iso*|usb*)
NUMBER="$(ls -1 ${KERNEL_PATH} | grep 'vmlinuz[0-9]\+$' | wc -l)"
@@ -127,7 +130,7 @@ Syslinux_live_entry ()
fi
LINUX_LIVE="${LINUX_LIVE}\tkernel ${LIVE_KERNEL_PATH}/${KERNEL}\n"
- LINUX_LIVE="${LINUX_LIVE}\tappend initrd=${LIVE_KERNEL_PATH}/${INITRD} boot=${INITFS} live-config ${LB_BOOTAPPEND_LIVE} ${APPEND}\n"
+ LINUX_LIVE="${LINUX_LIVE}\tappend initrd=${LIVE_KERNEL_PATH}/${INITRD} boot=${INITFS} live-config ${LB_BOOTAPPEND_LIVE} ${APPEND} ${QAPPEND}\n"
# Failsafe kernel
LINUX_LIVE="${LINUX_LIVE}\nlabel ${LABEL}failsafe\n"