summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/binary_hdd8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd
index 5fd745d65..e335a81b7 100755
--- a/scripts/build/binary_hdd
+++ b/scripts/build/binary_hdd
@@ -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()
{