summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-11-13 16:28:51 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-11-26 08:03:57 +0100
commit6ceaaa1e939ce06550ec4407c298257783196288 (patch)
treefe35fefa964aa58a5112a8de40719185bb2e983f
parent30d2c5419428adbafc55dafea90b54493af6099b (diff)
downloadvyos-live-build-6ceaaa1e939ce06550ec4407c298257783196288.tar.gz
vyos-live-build-6ceaaa1e939ce06550ec4407c298257783196288.zip
Silencing copying of syslinux themes since users get always distracted about syslinux 6 files not being dereferenced (which can be totally ignored if you're using syslinux 4).
-rwxr-xr-xscripts/build/binary_syslinux4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index 7e97ff7e5..38130596a 100755
--- a/scripts/build/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -149,7 +149,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
# Copy in two steps since the theme can have absolute symlinks and would therefore not be dereferenced correctly
cp -a ${_SOURCE} chroot/root
- Chroot chroot cp -aL /root/$(basename ${_SOURCE}) /root/$(basename ${_SOURCE}).tmp || true
+ Chroot chroot cp -aL /root/$(basename ${_SOURCE}) /root/$(basename ${_SOURCE}).tmp > /dev/null 2>&1 || true
cp -a chroot/root/$(basename ${_SOURCE}).tmp/* ${_TARGET}
rm -rf chroot/root/$(basename ${_SOURCE}) chroot/root/$(basename ${_SOURCE}).tmp
;;
@@ -157,7 +157,7 @@ case "${LB_BUILD_WITH_CHROOT}" in
false)
mkdir -p ${_TARGET}
- cp -aL ${_SOURCE}/* ${_TARGET} || true
+ cp -aL ${_SOURCE}/* ${_TARGET} > /dev/null 2>&1 || true
;;
esac