Ensure syslinux entry names match templates and standard d-i names
This patch alters the syslinux labels to follow the "expert" and "expertgui" style in favour of "TextExpert" and "GUIExpert". This makes the names match Live Helper's syslinux templates, as well as the more typical d-i installations and numerious sources that claim that one should "just type 'expert' at the syslinux prompt", etc.
This commit is contained in:
parent
acf66f3c52
commit
f1cb2b0432
helpers
|
@ -162,7 +162,16 @@ Syslinux_install_entry ()
|
|||
;;
|
||||
esac
|
||||
|
||||
LINUX_INSTALL="${LINUX_INSTALL}\nLABEL ${LABEL}${TYPE}\n"
|
||||
case "${LABEL}" in
|
||||
Text)
|
||||
TYPE_SUFFIX=""
|
||||
;;
|
||||
GUI)
|
||||
TYPE_SUFFIX="gui"
|
||||
;;
|
||||
esac
|
||||
|
||||
LINUX_INSTALL="${LINUX_INSTALL}\nLABEL $(echo "${TYPE}" | tr A-Z a-z)${TYPE_SUFFIX}\n"
|
||||
LINUX_INSTALL="${LINUX_INSTALL}\tMENU LABEL Start ${LABEL} ${TYPE}\n"
|
||||
LINUX_INSTALL="${LINUX_INSTALL}\tkernel ${LIVE_INSTALL_KERNEL_PATH}/${KERNEL}\n"
|
||||
LINUX_INSTALL="${LINUX_INSTALL}\tappend initrd=${LIVE_INSTALL_KERNEL_PATH}/${INITRD} ${TAPPEND} ${LH_BOOTAPPEND_INSTALL}\n"
|
||||
|
|
Loading…
Reference in New Issue