armbian-build/lib/functions
Ricardo Pardini d66aaf8449 jsoninfo: introduce inventory-artifacts cli
- stops after artifacts-reduced and adds kernels.ndjson and uboots.njdson via jq
- if one runs `./compile.sh inventory-artifacts` we shall get:
  - `output/info/kernels.ndjson`: one line for each kernel build
  - `output/info/uboots.ndjson`: one line for each u-boot build
- this is meant as base for other tooling that acts "for each kernel" or "for each u-boot" such as patch/config rewrites, etc
- cli-jsoninfo: better kernels.ndjson; new kernels-duplicate-config.json
  - so we can detect mistakes ref LINUXCONFIG
  - maybe one day the "Rewrite Kernel Config" GHA can re-use kernels.ndjson
- previous commit introduced targets-all-kernels.yaml, so one can run
  - `./compile.sh inventory-artifacts TARGETS_TEMPLATE=targets-all-kernels.yaml`
2025-11-17 12:21:10 +01:00
..
artifacts artifact-kernel: include LINUXCONFIG and ARMBIAN_KERNEL_DEB_NAME in artifact_input_variables 2025-11-17 12:21:10 +01:00
bsp Enable bootscript templating 2025-11-17 10:15:23 +01:00
cli jsoninfo: introduce inventory-artifacts cli 2025-11-17 12:21:10 +01:00
compilation kernel-config: don't leak grep stuff to stdout; mention Armbian and defconfig in rewritten .config comment 2025-11-08 13:13:38 +01:00
configuration Add Ubuntu 25.10 / 26.04 questing and resolute as csc build target, demote Bookworm to csc 2025-11-15 23:09:24 +01:00
general tools: Bump BATCAT_VERSION from 0.25.0 to 0.26.0 2025-11-16 10:04:35 +01:00
host Enable bootscript templating 2025-11-17 10:15:23 +01:00
image add CRYPTROOT_AUTOUNLOCK option and fix CRYPTROOT for uefi builds 2025-11-02 20:15:19 +01:00
logging runners.sh: introduce chroot_sdcard_custom_with_apt_logic() for reuse 2025-06-03 09:57:19 +02:00
main config-prepare: Initialize an empty KERNEL_DRIVERS_SKIP array unless it exists 2025-06-08 18:04:25 +02:00
rootfs Enable bootscript templating 2025-11-17 10:15:23 +01:00