armbian_build/lib/functions/cli
Ricardo Pardini d890b418c7 kernel/uboot/atf: introduce kernel-patch, uboot-patch, atf-patch, uboot-config, kernel-config CLI commands; enhanced manual patching; block deprecated ways
- all interactive commands now **don't build the artifact** anymore; just patches/.configs are produced and then build ends
  - user is required to put the produced patches in the right place and build again, for full consistency
- split ATF and U-BOOT manual patching process; use CLI command `atf-patch` to patch ATF, and `uboot-patch` to patch u-boot
- non-interactive artifact builds are now 100% sans-stdin
- introduce `uboot-config` CLI command; still experimental, only produces a defconfig and not a patch
- reworked `userpatch_create()` to be (hopefully) more useful:
  - detects a previous patch and offers to apply it before continuing
  - enters a loop showing the diff, and only proceeds when user indicates he's happy with the patch
  - produces `mbox`-formatted patches via `format-patch` and standard Armbian parameters
  - uses MAINTAINER and MAINTAINERMAIL instead of git configuration (so it works in containers)
- don't allow image builds with any patching or configuring _at all_ (it has been deprecated with a warning for months already, and results are inconsistent)
2023-05-01 22:46:55 +02:00
..
cli-artifact.sh kernel/uboot/atf: introduce kernel-patch, uboot-patch, atf-patch, uboot-config, kernel-config CLI commands; enhanced manual patching; block deprecated ways 2023-05-01 22:46:55 +02:00
cli-build.sh interactive: better Repeat Build Options [by @mhoffrog, squashed, rebased] 2023-04-21 14:26:33 +02:00
cli-configdump.sh configdump: better logging; insert (still unsupported) array/dict raw value and 2do markers into produced dump JSON 2023-03-31 09:12:44 +02:00
cli-distccd.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
cli-docker.sh docker/sudo: better control/info over CLI relaunch args; introduce CLI relaunch envs 2023-04-21 14:26:33 +02:00
cli-flash.sh cli: flash: introduce flash CLI command; introduce hook post_build_image_write 2023-04-15 22:43:06 +02:00
cli-jsoninfo.sh 🔥 JSON info pipeline: v18 2023-05-01 22:46:25 +02:00
cli-oras.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
cli-patch.sh lib: fix: replace undue export statements with declare -g 2023-03-31 09:12:44 +02:00
cli-requirements.sh bat-cat: introduce tooling support for bat (colorized/smart cat), including DEBIAN/xxx syntaxes; cached in Docker image 2023-03-31 09:12:44 +02:00
cli-undecided.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00
commands.sh kernel/uboot/atf: introduce kernel-patch, uboot-patch, atf-patch, uboot-config, kernel-config CLI commands; enhanced manual patching; block deprecated ways 2023-05-01 22:46:55 +02:00
entrypoint.sh lib: run shellfmt; remove commented-out; no actual changes 2023-03-31 09:12:44 +02:00
utils-cli.sh docker/sudo: better control/info over CLI relaunch args; introduce CLI relaunch envs 2023-04-21 14:26:33 +02:00