diff options
author | Daniel Baumann <daniel@debian.org> | 2009-11-15 14:20:01 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:49 +0100 |
commit | 18afcd29eb05d316d4bec279a45b503f273875aa (patch) | |
tree | 7fb92266749518ddb646b1adde1e3cf7a09f573b | |
parent | 02296bf652f25bb6ec12e6bec752a777ce9740c8 (diff) | |
download | vyos-live-build-18afcd29eb05d316d4bec279a45b503f273875aa.tar.gz vyos-live-build-18afcd29eb05d316d4bec279a45b503f273875aa.zip |
Respecting that etch has no prompt.cfg in netboot images.
-rwxr-xr-x | helpers/lh_binary_syslinux | 5 |
1 files changed, 4 insertions, 1 deletions
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 |