mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-oleg: curb rsync logging during bsp
This commit is contained in:
@@ -265,7 +265,7 @@ create_board_package() {
|
||||
EOF
|
||||
|
||||
# copy common files from a premade directory structure
|
||||
run_host_command_logged rsync -av ${SRC}/packages/bsp/common/* ${destination}
|
||||
run_host_command_logged rsync -a ${SRC}/packages/bsp/common/* ${destination}
|
||||
|
||||
# trigger uInitrd creation after installation, to apply
|
||||
# /etc/initramfs/post-update.d/99-uboot
|
||||
|
||||
@@ -117,6 +117,8 @@ create_image_from_sdcard_rootfs() {
|
||||
It is the last possible chance to modify `$CARD_DEVICE`.
|
||||
POST_BUILD_IMAGE
|
||||
|
||||
# @TODO: using rsync is slow, and only needed if the source & the target are on different devices/filesystems
|
||||
# @TODO: detect if on the same FS, if so, just "mv" which is a gazillion times faster
|
||||
display_alert "Moving artefacts from temporary directory to its final destination" "${version}" "info"
|
||||
[[ -n $compression_type ]] && run_host_command_logged rm -v "${DESTIMG}/${version}.img"
|
||||
run_host_command_logged rsync -av --no-owner --no-group --remove-source-files "${DESTIMG}/${version}"* "${FINALDEST}"
|
||||
|
||||
Reference in New Issue
Block a user