diff options
author | Daniel Baumann <daniel@debian.org> | 2010-06-22 16:56:18 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:11 +0100 |
commit | a3b5cbffc36b730b9c6942d6995a08ff9fa1957b (patch) | |
tree | d863f7fab26ed69c9f87de1328d949d0940b1f0e | |
parent | 92c3194fc5757f380931fea67f630d02696afb2c (diff) | |
download | vyos-live-build-a3b5cbffc36b730b9c6942d6995a08ff9fa1957b.tar.gz vyos-live-build-a3b5cbffc36b730b9c6942d6995a08ff9fa1957b.zip |
Silencing copying of parameters.txt in binary_linux-image.
-rwxr-xr-x | helpers/binary_linux-image | 5 |
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 |