armbian-build/lib/functions
Igor Velkov ccfe604902 memoize: add user feedback and configurable timeout for flock
When the memoize cache lock is held by another process (e.g., a stale
Docker container from a previous interrupted build), the build would
hang indefinitely without any feedback to the user.

This change:
- First tries non-blocking flock, acquiring immediately if available
- If lock is busy, informs user and waits with periodic status messages
- Adds MEMOIZE_FLOCK_WAIT_INTERVAL (default 10s) for message frequency
- Adds MEMOIZE_FLOCK_MAX_WAIT (default 0=infinite) for optional timeout
- Allows user to interrupt with Ctrl+C
- Suggests checking for stale containers: docker ps -a | grep armbian

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 01:40:21 +01:00
..
artifacts artifact-uboot: hash ATFSOURCE 2026-01-15 20:17:43 +01:00
bsp chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
cli chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
compilation "get completely rid of dead code toolchain stuff", pt2 2026-01-14 20:08:21 +01:00
configuration change-tracking: also track UBOOT_COMPILER & KERNEL_COMPILER 2026-01-21 01:39:50 +01:00
general memoize: add user feedback and configurable timeout for flock 2026-01-21 01:40:21 +01:00
host "get completely rid of dead code toolchain stuff", pt2 2026-01-14 20:08:21 +01:00
image chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
logging Framework: Add "Repeat Build Options" string at the end in case of error or break 2026-01-21 01:39:23 +01:00
main chore: update copyright years to 2026 2025-12-25 12:03:34 +01:00
rootfs Include DEST_LANG in rootfs cache hash calculation 2026-01-08 12:24:18 +01:00