armbian_build/lib/functions/logging
Ricardo Pardini bf891d54d9
armbian-next: split prepare_host(), fix .tmp reset trap
- `prepare_host()`: split; do checks earlier and allow them to be interactive
- introduce `exit_if_countdown_not_aborted()` for "Low Disk Space" and other critical conditions
- split `prepare_host()` into interactive & non-interactive parts
- split off `clean_deprecated_mountpoints()` from prepare into `cleaning.sh`
- introduce and use `reset_uid_owner_non_recursive()` for `.tmp` reset in trap, to avoid disasters
- add more logging sections to default-build.sh, avoid unlogged parts
2023-02-18 07:43:10 -03:00
..
capture.sh armbian-next: lib changes - MEGASQUASH - squashed changes from c9cf3fc241cfb4c872f4aef7bbc41d5854db7ea3 to 6809de3d6063cb041205a8318e19da6a4dee68c9 ref extensions_08_10_2022_pre_v30 2023-02-18 07:38:46 -03:00
display-alert.sh armbian-next: introduce POOR_MAN_PROFILER=yes (under ANSI_COLOR=none) 2023-02-18 07:43:00 -03:00
export-logs.sh armbian-oleg: better logs; only include non-empty .log files 2023-02-18 07:42:22 -03:00
logging.sh armbian-next: introduce tmpfs-utils.sh; put LOGDIR and WORKDIR under tmpfs; set CCACHE_TEMPDIR under WORKDIR 2023-02-18 07:43:09 -03:00
runners.sh armbian-oleg: if commands fail, write to log in bright red 2023-02-18 07:42:30 -03:00
section-logging.sh armbian-next: long overdue split of logging.sh 2023-02-18 07:42:19 -03:00
stacktraces.sh armbian-next: optimize for CONFIG_DEFS_ONLY=yes, skipping stacktraces/git info 2023-02-18 07:42:59 -03:00
trap-logging.sh armbian-next: traps: allow for cleanup handlers with arguments; unify around run_one_cleanup_handler() 2023-02-18 07:43:06 -03:00
traps.sh armbian-next: split prepare_host(), fix .tmp reset trap 2023-02-18 07:43:10 -03:00