From 18afcd29eb05d316d4bec279a45b503f273875aa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 15 Nov 2009 14:20:01 +0100 Subject: Respecting that etch has no prompt.cfg in netboot images. --- helpers/lh_binary_syslinux | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'helpers/lh_binary_syslinux') diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index 73a8a3002..0501996d9 100755 --- a/helpers/lh_binary_syslinux +++ b/helpers/lh_binary_syslinux @@ -650,7 +650,10 @@ case "${LH_BINARY_IMAGES}" in sed -i -e "s|^include |include ${LIVE_SCREEN_PATH}/|g" "${FILE}" done - sed -i -e "s| f| ${LIVE_SCREEN_PATH}/f|g" ${SCREEN_PATH}/prompt.cfg + if [ "${LH_DISTRIBUTION}" != "etch" ] + then + sed -i -e "s| f| ${LIVE_SCREEN_PATH}/f|g" ${SCREEN_PATH}/prompt.cfg + fi mv ${SCREEN_PATH}/syslinux.cfg ${KERNEL_PATH}/pxelinux.cfg/default -- cgit v1.2.3