Respecting that etch has no prompt.cfg in netboot images.

This commit is contained in:
Daniel Baumann 2009-11-15 14:20:01 +01:00
parent 02296bf652
commit 18afcd29eb
1 changed files with 4 additions and 1 deletions

View File

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