Fixing lb_binary_syslinux to add quiet for the default live entries.

This commit is contained in:
Daniel Baumann 2010-09-15 13:19:04 +02:00
parent 1858362d78
commit 310ef68036
1 changed files with 4 additions and 1 deletions

View File

@ -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"