mirror of
https://github.com/armbian/build.git
synced 2025-08-09 12:46:58 +02:00
- artifacts: u-boot/kernel - pt7 - adapt legacy/artifact versions; use common `capture_rename_legacy_debs_into_artifacts()` - artifacts: u-boot - pt6: add artifact for u-boot - use artifact version / reason in actual u-boot .deb if present - artifacts: kernel - pt5: tune kernel version, refactor - artifacts: kernel - pt4: squash unrelated bugs that show up; move `prepare_compilation_vars()` to default build - artifacts: kernel - pt3: drivers+patches+.config hashing - split file hashing function from drivers-harness; fix it so filenames are relative and sorted; sort from ${SRC}, always - aplit prepare_kernel_config_core_or_userpatches() from `kernel_config_initialize()` - artifacts: kernel - pt2: memoizing git ref2info - artifacts: kernel - pt1: versioning
14 lines
393 B
Bash
14 lines
393 B
Bash
function debug_dict() {
|
|
local dict_name="$1"
|
|
declare -n dict="${dict_name}"
|
|
for key in "${!dict[@]}"; do
|
|
debug_var "${dict_name}[${key}]"
|
|
done
|
|
}
|
|
|
|
function debug_var() {
|
|
local varname="$1"
|
|
local -a var_val_array=("${!varname}")
|
|
display_alert "${gray_color:-}# ${yellow_color:-}${varname}${normal_color:-}=${bright_yellow_color:-}${var_val_array[*]@Q}${ansi_reset_color:-}" "" "info"
|
|
}
|