armbian_build/lib/functions/cli
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
..
cli-build.sh armbian-next: split of config-prepare into multiple functions, allowing for logging of all non-interactive sections 2023-02-18 07:41:46 -03:00
cli-configdump.sh armbian-next: [focal-host] try to support focal-like host OS's again, via python3.9 (and drop buster completely) 2023-02-18 07:41:47 -03:00
cli-distccd.sh armbian-next: cli: distccd launcher for build farm 2023-02-18 07:40:18 -03:00
cli-docker.sh armbian-next: docker: implement docker-purge and docker-shell cli commands; deprecated mountpoints 2023-02-18 07:40:35 -03:00
cli-jsoninfo.sh armbian-next: Python tooling: use consolidated+hashed+cached pip base/pycache; don't pip during Dockerfile build, nor cli-requirements 2023-02-18 07:42:44 -03:00
cli-patch.sh armbian-next: Python patching delusion, pt4: series & better markdown 2023-02-18 07:40:54 -03:00
cli-requirements.sh armbian-next: Python tooling: use consolidated+hashed+cached pip base/pycache; don't pip during Dockerfile build, nor cli-requirements 2023-02-18 07:42:44 -03:00
cli-undecided.sh armbian-next: cli: de-hardcode build and docker's interdependence, via DOCKER_CLI_CMD 2023-02-18 07:40:05 -03:00
cli-vagrant.sh armbian-next: mark Vagrant CLI as unimplemented 2023-02-18 07:43:04 -03:00
commands.sh armbian-next: make sure temporary kernel and u-boot CLI commands always build a kernel/u-boot even if cached 2023-02-18 07:43:02 -03:00
entrypoint.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
utils-cli.sh armbian-next: fix re-launching of CLI commands under sudo (Docker was ok) 2023-02-18 07:42:52 -03:00