summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpers/lh_binary_usb-hdd8
1 files changed, 7 insertions, 1 deletions
diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd
index 6dee10d..7977d8b 100755
--- a/helpers/lh_binary_usb-hdd
+++ b/helpers/lh_binary_usb-hdd
@@ -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()
{