summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_syslinux
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_binary_syslinux')
-rwxr-xr-xhelpers/lh_binary_syslinux9
1 files changed, 6 insertions, 3 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux
index 968d250..4bcbda8 100755
--- a/helpers/lh_binary_syslinux
+++ b/helpers/lh_binary_syslinux
@@ -335,7 +335,8 @@ case "${LH_BINARY_IMAGES}" in
;;
esac
- cp -r "${TEMPLATES}"/* binary/isolinux
+ cp -r "${TEMPLATES}"/common/* binary/isolinux
+ cp -r "${TEMPLATES}"/"${LH_LANGUAGE}"/* binary/isolinux
for FILE in binary/isolinux/*.live
do
@@ -436,7 +437,8 @@ case "${LH_BINARY_IMAGES}" in
esac
mkdir -p tftpboot/pxelinux.cfg
- cp -r "${TEMPLATES}"/* tftpboot/pxelinux.cfg
+ cp -r "${TEMPLATES}"/common/* tftpboot/pxelinux.cfg
+ cp -r "${TEMPLATES}"/"${LH_LANGUAGE}"/* tftpboot/pxelinux.cfg
for FILE in tftpboot/pxelinux.cfg/*.live
do
@@ -533,7 +535,8 @@ case "${LH_BINARY_IMAGES}" in
;;
esac
- cp -r "${TEMPLATES}"/* "${DESTDIR}"
+ cp -r "${TEMPLATES}"/common/* "${DESTDIR}"
+ cp -r "${TEMPLATES}"/"${LH_LANGUAGE}"/* "${DESTDIR}"
for FILE in "${DESTDIR}"/*.live
do