armbian-build/lib/functions
Ricardo Pardini bf3f346bee
armbian-next: still fighting tee leaking: now I think I won, again
- avoid using the "last resort, use lazy umount" by killing tee_pid _and descendants_ before hand. Works!
- introduce `get_descendants_of_pid_array()` using recursive trick to get all descendants
- do not `unset CURRENT_LOGFILE` -- during `logging_error_show_log()` (from SHOW_LOG=no days)
  - do `unset CURRENT_LOGFILE` immediately before processing logs -- although it magically survives. mysteries of traps in bash...
- `declare -g` instead of `export` for `start_logging_section()`
- don't `check_and_close_fd_13()` in `run_cleanup_handlers()`
- do run `check_and_close_fd_13()`, but only after archiving the old logs (in logging trap!)
- add a default error for unhandled TRAP's -- of which should be done
- fix reset of `global_tee_pid=0` in section-logging
2023-02-18 07:43:40 -03:00
..
bsp armbian-oleg: curb rsync logging during bsp 2023-02-18 07:42:25 -03:00
cli armbian-next: split prepare_host(), fix .tmp reset trap 2023-02-18 07:43:10 -03:00
compilation armbian-next: compile_firmware(): use new temp dir helpers (saves 2Gb+ in WORKDIR), fix typos 2023-02-18 07:43:32 -03:00
configuration armbian-next: optimize for CONFIG_DEFS_ONLY=yes, skipping stacktraces/git info 2023-02-18 07:42:59 -03:00
extras armbian-next: fix all shellcheck errors in lib/ 2023-02-18 07:40:44 -03:00
general armbian-next: use retries for downloading ORAS tooling 2023-02-18 07:43:35 -03:00
host armbian-next: still fighting tee leaking: now I think I won, again 2023-02-18 07:43:40 -03:00
image armbian-next: small cleanups: squash typos / add function keyword / add types / mark dead code 2023-02-18 07:43:28 -03:00
logging armbian-next: still fighting tee leaking: now I think I won, again 2023-02-18 07:43:40 -03:00
main armbian-next: add logging with size of actual built rootfs in MiB; debug tmpfs in trap & after pkgs done 2023-02-18 07:43:30 -03:00
rootfs armbian-next: aggregation.py vs create-cache.sh: better hashing, much desktop 2023-02-18 07:43:36 -03:00