mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
popular demand: bring back KERNEL_CONFIGURE=yes *during image build*
- partially revert6ef394d95d(thus bring back the TUI/dialog for selecting KERNEL_CONFIGURE=yes/no) - partially revertd890b418c7(thus bring back the capacity to config & build image in one go) - stop after configuring kernel, but only if command is `kernel-config`, not regular image-build KERNEL_CONFIGURE=yes
This commit is contained in:
@@ -75,8 +75,9 @@ function compile_kernel() {
|
||||
|
||||
kernel_config # has it's own logging sections inside
|
||||
|
||||
# Stop after configuring kernel.
|
||||
if [[ "${KERNEL_CONFIGURE}" == yes ]]; then
|
||||
# Stop after configuring kernel, but only if using a specific CLI command ("kernel-config").
|
||||
# Normal "KERNEL_CONFIGURE=yes" (during image build) is still allowed.
|
||||
if [[ "${KERNEL_CONFIGURE}" == yes && "${ARMBIAN_COMMAND}" == "kernel-config" ]]; then
|
||||
display_alert "Stopping after configuring kernel" "" "cachehit"
|
||||
return 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user