Adding another workaround for etchs syslinux generation to manually treat live.cfg.
This commit is contained in:
parent
91b9dab637
commit
cea57867f5
|
@ -357,7 +357,7 @@ Configure_syslinux_templates ()
|
|||
then
|
||||
while grep -qs ^include ${SCREEN_PATH}/syslinux.cfg
|
||||
do
|
||||
INCLUDES=$(grep ^include ${SCREEN_PATH}/syslinux.cfg |awk '{print $2}')
|
||||
INCLUDES=$(grep ^include ${SCREEN_PATH}/syslinux.cfg | awk '{print $2}')
|
||||
|
||||
for FILE_PATH in ${INCLUDES}
|
||||
do
|
||||
|
@ -376,6 +376,12 @@ Configure_syslinux_templates ()
|
|||
done
|
||||
done
|
||||
|
||||
if [ -e ${SCREEN_PATH}/live.cfg ]
|
||||
then
|
||||
cat ${SCREEN_PATH}/live.cfg >> ${SCREEN_PATH}/syslinux.cfg
|
||||
rm -f ${SCREEN_PATH}/live.cfg
|
||||
fi
|
||||
|
||||
# Syslinux v3.31 in etch does not support sub directories, /path/kernel,
|
||||
# when using FAT hard drive images, remove leading /'s
|
||||
if [ "${LH_BINARY_IMAGES}" = "usb-hdd" ]
|
||||
|
|
Loading…
Reference in New Issue