diff options
author | Daniel Baumann <daniel@debian.org> | 2009-11-01 14:06:46 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:48 +0100 |
commit | 57a8ef8442a6ab37f1a56477a38e740fde4c0fde (patch) | |
tree | d7eec7c2b1dfe0dc5632623d9a878b8764ae9736 /helpers/lh_binary_syslinux | |
parent | bcb1e6f7d514e37df4db39fab595277f9e701ba6 (diff) | |
download | live-build-57a8ef8442a6ab37f1a56477a38e740fde4c0fde.zip live-build-57a8ef8442a6ab37f1a56477a38e740fde4c0fde.tar.gz |
Correcting pathes in include statements when building netboot images (Closes: #546910).
Diffstat (limited to 'helpers/lh_binary_syslinux')
-rwxr-xr-x | helpers/lh_binary_syslinux | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index d43ce12..29bd339 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 |