summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_syslinux
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-10-09 13:04:56 -0300
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:27 +0100
commit7bfb06e25a566a8bce44ce2f544057d496f75089 (patch)
tree8a2fb4a15d123ec5eb40f37e3b556552f9f1a613 /helpers/lh_binary_syslinux
parente1b10bc5175b2f5fc43fae879bf32fea9dbab8f4 (diff)
downloadvyos-live-build-7bfb06e25a566a8bce44ce2f544057d496f75089.tar.gz
vyos-live-build-7bfb06e25a566a8bce44ce2f544057d496f75089.zip
syslinux: fix usb-hdd templates coping
Diffstat (limited to 'helpers/lh_binary_syslinux')
-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