diff options
Diffstat (limited to 'scripts/build/binary_hdd')
-rwxr-xr-x | scripts/build/binary_hdd | 8 |
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() { |