armbian_build/lib/functions/cli/cli-build.sh
Ricardo Pardini f167864f2c
armbian-next: split of config-prepare into multiple functions, allowing for logging of all non-interactive sections
- introduce `do_with_conditional_logging()` which only starts logging sections if `do_logging=no`
- with this we should get complete logs (ofc except for the interactive sections)
2023-02-18 07:41:46 -03:00

15 lines
491 B
Bash

function cli_standard_build_pre_run() {
declare -g ARMBIAN_COMMAND_REQUIRE_BASIC_DEPS="yes" # Require prepare_host_basic to run before the command.
# "gimme root on a Linux machine"
cli_standard_relaunch_docker_or_sudo
}
function cli_standard_build_run() {
# configuration etc - it initializes the extension manager; handles its own logging sections
prepare_and_config_main_build_single
# main_default_build_single() handles its own logging sections...
main_default_build_single
}