armbian-build/lib/functions/cli
Ricardo Pardini 091ae1d27f
armbian-next: rootfs: adapt to new reality after huge refactor
- make `tmpfs_estimated_size` and `available_physical_memory_mib` readonly and global and only ever set once
- remove subshell from `get_rootfs_cache_list()`, new version `get_rootfs_cache_list_into_array_variable()` for sanity
- warns if `ROOT_FS_CREATE_ONLY=yes` is set during cached build path
- add a `wait_for_disk_sync()` after restoring rootfs cache
- fix logging sections for `build_rootfs_only()` and `prepare_rootfs_build_params_and_trap()` in `build_rootfs_and_image()`
- remove the logging section from `get_or_create_rootfs_cache_chroot_sdcard()` call in `build_rootfs_only()` (which is now itself logged)
- @TODO: `deploy_qemu_binary_to_chroot()` is leaking a qemu bin in rootfs cache!
2023-02-18 07:44:24 -03:00
..
cli-build.sh armbian-next: rootfs: new CLI command for rootfs cache building; further refactorings 2023-02-18 07:44:22 -03:00
cli-configdump.sh armbian-next: rename too-long main function to prep_conf_main_build_single() 2023-02-18 07:43:42 -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: archive logfiles again; warn & greet testers when archiving many old logfiles 2023-02-18 07:44:00 -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: rootfs: new CLI command for rootfs cache building; further refactorings 2023-02-18 07:44:22 -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-rootfs.sh armbian-next: rootfs: adapt to new reality after huge refactor 2023-02-18 07:44:24 -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: rootfs: new CLI command for rootfs cache building; further refactorings 2023-02-18 07:44:22 -03:00
entrypoint.sh armbian-next: extensions: move 'extensions.sh' into library; replace manual source with init function 2023-02-18 07:44:05 -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