lib: kernel-config: fix menuconfig dialog not appearing when building image with KERNEL_CONFIGURE=yes

This commit is contained in:
Gunjan Gupta
2023-10-18 16:03:11 +05:30
parent bebdc1164a
commit dc8c46c27e

View File

@@ -33,7 +33,7 @@ function kernel_config() {
LOG_SECTION="kernel_config_initialize" do_with_logging do_with_hooks kernel_config_initialize
if [[ "${KERNEL_CONFIGURE}" == "yes" ]]; then
if [[ "${ARMBIAN_COMMAND}" == "kernel-config" ]]; then
if [[ "${ARMBIAN_COMMAND}" != "rewrite-kernel-config" ]]; then
# This piece is interactive, no logging
display_alert "Starting (interactive) kernel ${KERNEL_MENUCONFIG:-menuconfig}" "${LINUXCONFIG}" "debug"
run_kernel_make_dialog "${KERNEL_MENUCONFIG:-menuconfig}"