Silencing copying of parameters.txt in binary_linux-image.

This commit is contained in:
Daniel Baumann 2010-06-22 16:56:18 +02:00
parent 541824a8c4
commit d77aad8bb5
1 changed files with 4 additions and 1 deletions

View File

@ -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