Using cp -a on all non-fat filesystems to copy content into the binary image (Closes: #745824).

This commit is contained in:
Daniel Baumann 2014-04-25 21:12:53 +02:00
parent d86fb1aeb4
commit 1867dc1e52
1 changed files with 6 additions and 2 deletions

View File

@ -239,13 +239,17 @@ esac
case "${LB_BINARY_FILESYSTEM}" in
fat*)
CP_OPTIONS="-L"
CP_OPTIONS="-r -L"
;;
*)
CP_OPTIONS="-a"
;;
esac
mkdir -p chroot/binary.tmp
mount ${MOUNT_OPTIONS} ${FREELO} chroot/binary.tmp
cp -r -T ${CP_OPTIONS} binary/ chroot/binary.tmp
cp -T ${CP_OPTIONS} binary/ chroot/binary.tmp
FIXME()
{