Correcting pathes in include statements when building netboot images (Closes: #546910).

This commit is contained in:
Daniel Baumann 2009-11-01 14:06:46 +01:00
parent bcb1e6f7d5
commit 57a8ef8442
1 changed files with 6 additions and 0 deletions

View File

@ -627,6 +627,12 @@ case "${LH_BINARY_IMAGES}" in
ln -s ${LIVE_KERNEL_PATH}/pxelinux.cfg ${SYSLINUX_PATH}/pxelinux.cfg
ln -s ${LIVE_KERNEL_PATH}/pxelinux.0 ${SYSLINUX_PATH}/pxelinux.0
# Adjusting include pathes
for FILE in ${SCREEN_PATH}/*.cfg
do
sed -i -e "s|^include |include ${LIVE_SCREEN_PATH}/|g" "${FILE}"
done
mv ${SCREEN_PATH}/syslinux.cfg ${KERNEL_PATH}/pxelinux.cfg/default
# Copying configuration file