From 57a8ef8442a6ab37f1a56477a38e740fde4c0fde Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 1 Nov 2009 14:06:46 +0100 Subject: Correcting pathes in include statements when building netboot images (Closes: #546910). --- helpers/lh_binary_syslinux | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'helpers') diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index d43ce12db..29bd3396a 100755 --- a/helpers/lh_binary_syslinux +++ b/helpers/lh_binary_syslinux @@ -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 -- cgit v1.2.3