mirror of https://github.com/armbian/build.git
* Extend BUILD_ONLY value to single value "any"
- build-tasks.sh:
- build_task_is_enabled():
- handle value "any" adequate to logic for empty string
- build_validate_buildOnly():
- handle value "any" adequate to logic for empty string
- add specific error message in case "any" appears in a list of task names
- add function build_only_value_for_kernel_only_build():
- provide a constant list of task names for kernel only package build
supposed to be used unique at several places
- backward_compatibility_build_only():
- propagate KERNEL_ONLY="no" to BUILD_ONLY="any"
- propagate KERNEL_ONLY="yes" to BUILD_ONLY="$(build_only_value_for_kernel_only_build)"
- update log messages accordingly
- interactive.sh:
- re-factor interactive_config_ask_kernel_only()
-> interactive_config_ask_build_only()
- interactive_config_ask_build_only():
- provide three pre-defined choices:
- "u-boot" - "U-boot package only"
- "$(build_only_value_for_kernel_only_build)" - "U-boot and kernel packages"
- "any" - "Full OS image for flashing"
- un-comment call of interactive_config_ask_build_only
in interactive_config_ask_kernel()
* Extend BUILD_ONLY value to single value "default"
- build-tasks.sh:
- change BUILD_ONLY setting of "any" to "default"
to be closer to parallel WIP of #4526
- interactive.sh:
- interactive_config_ask_build_only():
- improve menu selection texts for unique quick selection first characters:
- "u-boot" - "U-boot package only"
- "$(build_only_value_for_kernel_only_build)" - "Kernel and U-boot packages only"
- "default" - "Full OS image for flashing"
* Update sequence of BUILD_ONLY selection
- start with default to "Kernel and U-Boot packages only"
Co-authored-by: Igor <igor@armbian.com>
|
||
|---|---|---|
| .. | ||
| bsp | ||
| cli | ||
| compilation | ||
| configuration | ||
| extras | ||
| general | ||
| host | ||
| image | ||
| logging | ||
| main | ||
| rootfs | ||