Only deference symlinks on usb-hdd filesystems that do not support symlinks.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
Chris Lamb 2008-06-15 16:51:49 +01:00
parent 0c46e9185b
commit 64d2e53e07

View File

@ -187,9 +187,15 @@ case "${LH_CHROOT_BUILD}" in
;;
esac
case "${LH_BINARY_FILESYSTEM}" in
fat*)
CP_OPTIONS="-L"
;;
esac
mkdir -p chroot/binary.tmp
${LH_ROOT_COMMAND} mount ${FREELO} chroot/binary.tmp
cp -rL binary/* chroot/binary.tmp
cp -r ${CP_OPTIONS} binary/* chroot/binary.tmp
FIXME()
{