summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-06-22 16:56:18 +0200
committerDaniel Baumann <daniel@debian.org>2010-06-22 16:56:18 +0200
commitd77aad8bb5823277b3e17ff795f2d736e62a44ee (patch)
treed863f7fab26ed69c9f87de1328d949d0940b1f0e /helpers
parent541824a8c469fcd9b9d8091e0a448b9d9a8188d2 (diff)
downloadvyos-live-build-d77aad8bb5823277b3e17ff795f2d736e62a44ee.tar.gz
vyos-live-build-d77aad8bb5823277b3e17ff795f2d736e62a44ee.zip
Silencing copying of parameters.txt in binary_linux-image.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/binary_linux-image5
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/binary_linux-image b/helpers/binary_linux-image
index bf0936a90..e82ec10d5 100755
--- a/helpers/binary_linux-image
+++ b/helpers/binary_linux-image
@@ -73,7 +73,10 @@ cp chroot/boot/initrd.img-* "${DESTDIR}"
case "${LH_INITRAMFS}" in
live-initramfs)
- cp chroot/usr/share/doc/live-initramfs/parameters.txt "${DESTDIR}"/parameters.txt || true
+ if [ -e chroot/usr/share/doc/live-initramfs/parameters.txt ]
+ then
+ cp chroot/usr/share/doc/live-initramfs/parameters.txt "${DESTDIR}"/parameters.txt
+ fi
;;
esac