From a3b5cbffc36b730b9c6942d6995a08ff9fa1957b Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Tue, 22 Jun 2010 16:56:18 +0200
Subject: Silencing copying of parameters.txt in binary_linux-image.

---
 helpers/binary_linux-image | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/helpers/binary_linux-image b/helpers/binary_linux-image
index bf0936a..e82ec10 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
 
-- 
cgit v1.0