summaryrefslogtreecommitdiff
path: root/scripts/build/binary_syslinux
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-02-01 08:51:39 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:05 +0200
commit2fb4009a8cf938697230c81518ac34faa60368f4 (patch)
treee4d3255a1140f6139b7aaecca5e7d03ba88e828d /scripts/build/binary_syslinux
parentd06b25079fb147be2cdc8a201662f7bc6da2211f (diff)
downloadvyos-live-build-2fb4009a8cf938697230c81518ac34faa60368f4.tar.gz
vyos-live-build-2fb4009a8cf938697230c81518ac34faa60368f4.zip
Updating syslinux configurations and handling for syslinux 5.
Diffstat (limited to 'scripts/build/binary_syslinux')
-rwxr-xr-xscripts/build/binary_syslinux6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index e9283b191..ca55f9efe 100755
--- a/scripts/build/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -179,10 +179,10 @@ case "${LB_BUILD_WITH_CHROOT}" in
if [ "${LB_SYSLINUX_THEME}" = "live-build" ]
then
cp -a ${_SOURCE} chroot/root
- Chroot chroot cp -aL /root/$(basename ${_SOURCE}) /root/$(basename ${_SOURCE}).tmp
+ Chroot chroot cp -aL /root/$(basename ${_SOURCE}) /root/$(basename ${_SOURCE}).tmp || true
rm -rf chroot/$(basename ${_SOURCE})
else
- Chroot chroot cp -aL ${_SOURCE} /root/$(basename ${_SOURCE}).tmp
+ Chroot chroot cp -aL ${_SOURCE} /root/$(basename ${_SOURCE}).tmp || true
fi
case "${LB_MODE}" in
@@ -197,7 +197,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
false)
mkdir -p ${_TARGET}
- cp -aL ${_SOURCE}/* ${_TARGET}
+ cp -aL ${_SOURCE}/* ${_TARGET} || true
case "${LB_MODE}" in
ubuntu)