summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-02-09 00:04:20 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:05 +0200
commit85e9887e0b0e14dfb70e6f51284e978018a4f540 (patch)
tree632e8d2ea5728e2055c1fa286282735aafa25e4d
parentea68bab3040f80f16f9c0b14cee190ba2f043110 (diff)
downloadvyos-live-build-85e9887e0b0e14dfb70e6f51284e978018a4f540.tar.gz
vyos-live-build-85e9887e0b0e14dfb70e6f51284e978018a4f540.zip
Converting splash.svg not just splash.svg.in files as syslinux bootsplashes.
-rwxr-xr-xscripts/build/binary_syslinux7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index a62018c61..26d905ff4 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"