diff options
author | Daniel Baumann <daniel@debian.org> | 2013-02-09 00:04:20 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2013-02-09 00:04:20 +0100 |
commit | f4c54334a4d8668ac70870b53c877f1abd07b2db (patch) | |
tree | c20fdb865e1d0a2b72eff61902c76708e5e3a977 /scripts | |
parent | 01eda544579332d55cb7d45fa7c3825924bc1359 (diff) | |
download | vyos-live-build-f4c54334a4d8668ac70870b53c877f1abd07b2db.tar.gz vyos-live-build-f4c54334a4d8668ac70870b53c877f1abd07b2db.zip |
Converting splash.svg not just splash.svg.in files as syslinux bootsplashes.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/binary_syslinux | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux index c40024372..f55b32887 100755 --- a/scripts/build/binary_syslinux +++ b/scripts/build/binary_syslinux @@ -286,7 +286,10 @@ then -e "s|@LIVE_CONFIG_VERSION@|${_LIVE_CONFIG_VERSION}|g" \ -e "s|@LIVE_TOOLS_VERSION@|${_LIVE_TOOLS_VERSION}|g" \ "${_TARGET}/splash.svg.in" > "${_TARGET}/splash.svg" +fi +if [ -e "${_TARGET}/splash.svg" ] +then case "${LB_BUILD_WITH_CHROOT}" in true) cp "${_TARGET}/splash.svg" chroot @@ -299,10 +302,10 @@ then rsvg --format png --height 480 --width 640 "${_TARGET}/splash.svg" "${_TARGET}/splash.png" ;; esac - - rm -f "${_TARGET}/splash.svg.in" "${_TARGET}/splash.svg" fi +rm -f "${_TARGET}/splash.svg.in" "${_TARGET}/splash.svg" + case "${LB_MODE}" in progress-linux) for _FILE in "${_TARGET}/isolinux.bin" "${_TARGET}/isolinux.cfg" "${_TARGET}/syslinux.cfg" |