From f4c54334a4d8668ac70870b53c877f1abd07b2db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 9 Feb 2013 00:04:20 +0100 Subject: Converting splash.svg not just splash.svg.in files as syslinux bootsplashes. --- scripts/build/binary_syslinux | 7 +++++-- 1 file 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" -- cgit v1.2.3