mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: do basic host checks before config if interactive, or during prepare-host if not
- group basic checks at `check_basic_host()`
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
function prepare_and_config_main_build_single() {
|
||||
LOG_SECTION="config_early_init" do_with_conditional_logging config_early_init
|
||||
|
||||
# if interactive, call prepare-host.sh::check_basic_host() early, to avoid disappointments later.
|
||||
if [[ -t 1 ]]; then
|
||||
check_basic_host
|
||||
fi
|
||||
|
||||
# those are possibly interactive. interactive (dialog) and logging don't mix, for obvious reasons.
|
||||
interactive_config_prepare_terminal # init vars used for interactive
|
||||
config_possibly_interactive_kernel_board
|
||||
|
||||
Reference in New Issue
Block a user