templates: move syslinux-menu to syslinux/menu
All files from syslinux-menu templates directory has been moved to syslinux/menu. lh_binary_syslinux had some changes to work with that but they were minimal ones.
This commit is contained in:
parent
8049aeb024
commit
90ffcda4b3
|
@ -47,12 +47,7 @@ Require_stagefile .stage/bootstrap
|
||||||
Check_stagefile .stage/binary_syslinux
|
Check_stagefile .stage/binary_syslinux
|
||||||
|
|
||||||
# Checking syslinux templates
|
# Checking syslinux templates
|
||||||
if [ "${LH_SYSLINUX_MENU}" = "disabled" ]
|
Check_templates syslinux
|
||||||
then
|
|
||||||
Check_templates syslinux
|
|
||||||
else
|
|
||||||
Check_templates syslinux-menu
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Checking lock file
|
# Checking lock file
|
||||||
Check_lockfile .lock
|
Check_lockfile .lock
|
||||||
|
@ -363,7 +358,13 @@ case "${LH_BINARY_IMAGES}" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Syslinux templates
|
||||||
cp -r "${TEMPLATES}"/common/* binary/isolinux
|
cp -r "${TEMPLATES}"/common/* binary/isolinux
|
||||||
|
if [ "${LH_SYSLINUX_MENU}" != "disabled" ]
|
||||||
|
then
|
||||||
|
cp -r "${TEMPLATES}"/menu/* binary/isolinux
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -d "${TEMPLATES}"/"${LH_LANGUAGE}" ]
|
if [ -d "${TEMPLATES}"/"${LH_LANGUAGE}" ]
|
||||||
then
|
then
|
||||||
cp -r "${TEMPLATES}"/"${LH_LANGUAGE}"/* binary/isolinux
|
cp -r "${TEMPLATES}"/"${LH_LANGUAGE}"/* binary/isolinux
|
||||||
|
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
Loading…
Reference in New Issue