armbian-build/lib/functions/logging
Ricardo Pardini 2d9f9216eb
armbian-next: introduce tmpfs-utils.sh; put LOGDIR and WORKDIR under tmpfs; set CCACHE_TEMPDIR under WORKDIR
- introduce generic `prepare_tmpfs_for()`, which manages it's own cleanup/dir removal
- use it for `WORKDIR` (which is `TMPDIR`) and `LOGDIR`
  - adapt previous cleanup handlers for those, so they delete their contents but not the dir itself (which might be mounted)
- also: make `ARMBIAN_LOG_CLI_ID` readonly together with other superglobals
- set `XDG_RUNTIME_DIR` & `XDG_RUNTIME_DIR` together with `TMPDIR`
- kernel-make.sh: pass `CCACHE_TEMPDIR` down to Kernel make (thanks @the-Going)
2023-02-18 07:43:09 -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: traps: allow for cleanup handlers with arguments; unify around run_one_cleanup_handler() 2023-02-18 07:43:06 -03:00