RSS Bot Posted March 29, 2023 Posted March 29, 2023 rpardini's big batch of lib changes from late March/23 (incl AR-1620 and AR-1639) (G) cli: commands: fix artifact aliases, reorder (G) configdump: better logging; insert (still unsupported) array/dict raw value and 2do markers into produced dump JSON (G) config: fix: replace undue export statements with declare -g; shellfmt (G) lib: fix: replace undue export statements with declare -g (G) run shellfmt; remove commented-out; no actual changes (G) distro-agnostic: emit 'info' message before setting root password, otherwise logs are confusing (G) distro-specific: fix installation of fake-ubuntu-advantage-tools (G) desktop/bsp-desktop: add config_dump method; fix artifact_map_debs ref subdir and name (G) artifact bsps: require aggregation to build, not to list what needs to be built (G) update library-functions.sh (G) distro-agnostic: fix install of armbian-bsp-cli (not armbian-bsp) (G) armbian-bsp-cli: add _config_dump method, use configuration with aggregation, add required vars check (G) include rudimentary artifact dependency information for config-dump-json: fixes/refactor/cleanup (G) artifact-rootfs.sh: include rudimentary artifact dependency information for config-dump-json (G) artifact-armbian-(config/plymouth-theme/zsh).sh: include rudimentary artifact dependency information for config-dump-json (G) artifact-fake-ubuntu-advantage-tools.sh: include rudimentary artifact dependency information for config-dump-json (G) include rudimentary artifact dependency information for config-dump-json (G) configdump/json-info-boards: revamp, all-JSON now; use_board=yes skip_kernel=no for config; refactor & use new Python bash-declare-to-JSON utility use new capture'd vars scheme so ./compile.sh BOARD=xxx BRANCH=yyyy config-dump-json | jq . now works and is consistent/newline tolerant introduce internal skip_host_config=yes for prep_conf_main_minimal_ni() to skip calling check_basic_host() (G) capture: set globals CAPTURED_VARS_NAMES and CAPTURED_VARS_ARRAY (instead of CAPTURED_VARS_ARRAY that was space-delimited); filter and sort last-minute (G) oras: add --insecure to further retries if we get a failure on first try, to workaround GitHub's March/2023 mess with certificates (G) runners: introduce internal skip_error_info=yes for run_host_command_logged() doesn't show nor clear vars if_error_find_files_sdcard and if_error_detail_message used by chroot_sdcard_apt_get() which uses run_host_command_logged() multiple times, and the first would clear the important/last one (G) fix: declare some variables that were leaking into global namespace for no reason especially for VAR in ... and VAR leaks sans the declare rename fragment_manager_cleanup_file to extension_manager_cleanup_file (G) bat-cat: introduce tooling support for bat (colorized/smart cat), including DEBIAN/xxx syntaxes; cached in Docker image (G) oci-oras: fix, don't test for ORAS_BIN before it is actually defined (G) apt-install: install_deb_chroot(): useful logging, when trying to install invalid stuff View the full article
Recommended Posts