mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
rootfs-to-image: do not use --sparse, it's _very slow_ on certain IO/FS combos
- Revert "rootfs-to-image: preserve sparse files when moving artefacts to final destination with rsync"
This reverts commit 4fd0e0c29d.
This commit is contained in:
@@ -215,7 +215,7 @@ function move_images_to_final_destination() {
|
||||
done
|
||||
else
|
||||
display_alert "Moving artefacts using rsync to final destination" "${version}" "info"
|
||||
run_host_command_logged rsync -av --sparse --no-owner --no-group --remove-source-files "${DESTIMG}/${version}"* "${FINALDEST}"
|
||||
run_host_command_logged rsync -av --no-owner --no-group --remove-source-files "${DESTIMG}/${version}"* "${FINALDEST}"
|
||||
run_host_command_logged rm -rfv --one-file-system "${DESTIMG}"
|
||||
fi
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user