mirror of
https://github.com/armbian/build.git
synced 2025-08-10 13:16:58 +02:00
- completely remove support for building under `buster` -- that's way too old, sorry. - de-hardcode `python3` invocations, instead use `python3_binary_path` set by `prepare_python3_binary_for_python_tools()` - juggle `$HOSTRELEASE`: read from actual host, or determined from Docker image name (during Dockerfile build) - TL;DR: include and use `python3.9` for focal-like host OS's
20 lines
671 B
Bash
20 lines
671 B
Bash
function cli_config_dump_pre_run() {
|
|
declare -g CONFIG_DEFS_ONLY='yes'
|
|
}
|
|
|
|
function cli_config_dump_run() {
|
|
# configuration etc - it initializes the extension manager
|
|
do_capturing_defs config_and_remove_useless < /dev/null # this sets CAPTURED_VARS; the < /dev/null is take away the terminal from stdin
|
|
echo "${CAPTURED_VARS}" # to stdout!
|
|
}
|
|
|
|
function config_and_remove_useless() {
|
|
do_logging=no prepare_and_config_main_build_single # avoid logging during configdump; it's useless
|
|
unset FINALDEST
|
|
unset HOOK_ORDER HOOK_POINT HOOK_POINT_TOTAL_FUNCS
|
|
unset REPO_CONFIG REPO_STORAGE
|
|
unset DEB_STORAGE
|
|
unset RKBIN_DIR
|
|
unset ROOTPWD
|
|
}
|