[SCM] live-helper branch, debian-next, updated. debian/2.0_a15-1-6-gd77aad8

Daniel Baumann daniel at debian.org
Tue Jun 22 14:56:47 UTC 2010


The following commit has been merged in the debian-next branch:
commit d77aad8bb5823277b3e17ff795f2d736e62a44ee
Author: Daniel Baumann <daniel at debian.org>
Date:   Tue Jun 22 16:56:18 2010 +0200

    Silencing copying of parameters.txt in binary_linux-image.

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
 

-- 
live-helper



More information about the debian-live-changes mailing list