mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: replace bare sync invocations by introducing wait_for_disk_sync(); sync early at start of build
- wait 10s for sync call; otherwise warn user to be patient - wait_for_sync "reason for sync" everywhere - add @TODO for /run/user/0 etc and XDG_RUNTIME_DIR in chroot
This commit is contained in:
@@ -21,9 +21,9 @@ function do_with_ccache_statistics() {
|
||||
display_alert "ccache dir size before" "${ccache_dir_size_before_human}" "ccache"
|
||||
|
||||
# Show the ccache configuration
|
||||
wait_for_disk_sync "before ccache config"
|
||||
display_alert "ccache configuration" "ccache" "ccache"
|
||||
run_host_command_logged ccache --show-config "&&" sync
|
||||
sync
|
||||
fi
|
||||
|
||||
display_alert "Running ccache'd build..." "ccache" "ccache"
|
||||
|
||||
Reference in New Issue
Block a user