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

This commit is contained in:
Chris Lamb 2008-06-15 16:51:49 +01:00 committed by Daniel Baumann
parent 51a75d515a
commit 369fd95bee
1 changed files with 7 additions and 1 deletions

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()
{