summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-11-15 14:20:01 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:49 +0100
commit18afcd29eb05d316d4bec279a45b503f273875aa (patch)
tree7fb92266749518ddb646b1adde1e3cf7a09f573b /helpers
parent02296bf652f25bb6ec12e6bec752a777ce9740c8 (diff)
downloadlive-build-18afcd29eb05d316d4bec279a45b503f273875aa.zip
live-build-18afcd29eb05d316d4bec279a45b503f273875aa.tar.gz
Respecting that etch has no prompt.cfg in netboot images.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_syslinux5
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index 73a8a30..0501996 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