summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-10-09 13:04:56 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2007-10-09 13:04:56 -0300
commit883594ed649731db18a0121aad37bb08897f3361 (patch)
tree8a2fb4a15d123ec5eb40f37e3b556552f9f1a613 /helpers
parent4d6271dddbb38da5e3032e19701e7c18afa0bbe0 (diff)
downloadvyos-live-build-883594ed649731db18a0121aad37bb08897f3361.tar.gz
vyos-live-build-883594ed649731db18a0121aad37bb08897f3361.zip
syslinux: fix usb-hdd templates coping
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_syslinux6
1 files changed, 6 insertions, 0 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index 589c34862..8c6887fb2 100755
--- a/helpers/lh_binary_syslinux
+++ b/helpers/lh_binary_syslinux
@@ -603,6 +603,12 @@ case "${LH_BINARY_IMAGES}" in
esac
cp -r "${TEMPLATES}"/common/* "${DESTDIR}"
+ if [ "${LH_SYSLINUX_MENU}" = "disabled" ]
+ then
+ cp -r "${TEMPLATES}"/normal/* "${DESTDIR}"
+ else
+ cp -r "${TEMPLATES}"/menu/* "${DESTDIR}"
+ fi
cp -r "${TEMPLATES}"/"${LH_LANGUAGE}"/* "${DESTDIR}"
for FILE in "${DESTDIR}"/*.live