armbian_build/lib/functions/cli
Ricardo Pardini 28d89e2c91
armbian-next: rootfs: new CLI command for rootfs cache building; further refactorings
- _told ya it would all make sense eventually..._
- introduce new, real, non-alias `rootfs` command in `cli-rootfs` -- this _only_ builds rootfs, nothing else
- no more `main_default_build_single()`; instead `full_build_packages_rootfs_and_image()`
- introduce `do_with_default_build()` wrapper, for things that need host prepared + aggregation to run
- CLI-specific parts of `main_default_build_single()` moved to cli-build
- put prepare/cleanup pair of `prepare_rootfs_build_params_and_trap()` and `trap_handler_cleanup_rootfs_and_image()` into new `trap-rootfs.sh` (this needs further splitting for the image part)
- refactor `get_or_create_rootfs_cache_chroot_sdcard()` into `build_rootfs_only()`, `calculate_rootfs_cache_id()`
- update library with new files
2023-02-18 07:44:22 -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: new CLI command for rootfs cache building; further refactorings 2023-02-18 07:44:22 -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