diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:02:56 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:26 +0100 |
commit | 63d43292691be4e8731ba9aa11ef3a4007d3fa03 (patch) | |
tree | 654157939fea8c3eafb2d47ede021ee8684a6c62 /helpers/lh_binary_syslinux | |
parent | b5d00b55d2c589d4b23c39ac8288b3b7cf4edd0c (diff) | |
download | vyos-live-build-63d43292691be4e8731ba9aa11ef3a4007d3fa03.tar.gz vyos-live-build-63d43292691be4e8731ba9aa11ef3a4007d3fa03.zip |
Supporting localized syslinux templates based on LH_LANGUAGE.
Diffstat (limited to 'helpers/lh_binary_syslinux')
-rwxr-xr-x | helpers/lh_binary_syslinux | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/helpers/lh_binary_syslinux b/helpers/lh_binary_syslinux index 968d25081..4bcbda80d 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 |