[SCM] live-helper branch, master, updated. 1.0.5-2-53-ge7d1810
Daniel Baumann
daniel at debian.org
Sun Nov 1 13:08:04 UTC 2009
The following commit has been merged in the master branch:
commit e7d1810cf104a22e60dce6fb4db8450725e0f66b
Author: Daniel Baumann <daniel at debian.org>
Date: Sun Nov 1 14:06:46 2009 +0100
Correcting pathes in include statements when building netboot images (Closes: #546910).
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
--
live-helper
More information about the debian-live-changes
mailing list