From 57dc4032e52d204a10cfc8d3eca1376a285df086 Mon Sep 17 00:00:00 2001 From: xumia <59720581+xumia@users.noreply.github.com> Date: Fri, 25 Jun 2021 00:17:06 +0800 Subject: [PATCH] [ci]: Fix config prompt question issue (#1693) When run "make modules_prepare", it prompts an ask as below: Microsoft Network Devices (NET_VENDOR_MICROSOFT) [Y/n/?] (NEW) It should be caused by the new version of the kernel config mis-match with existing one. To fix it, add the CONFIG_NET_VENDOR_MICROSOFT and CONFIG_MICROSOFT_MANA settings in the .config file. --- .azure-pipelines/build_and_install_module.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.azure-pipelines/build_and_install_module.sh b/.azure-pipelines/build_and_install_module.sh index 4bd026cb5259..7f8cc23645c5 100755 --- a/.azure-pipelines/build_and_install_module.sh +++ b/.azure-pipelines/build_and_install_module.sh @@ -48,6 +48,8 @@ function build_and_install_kmodule() grep NET_TEAM .config.bk >> .config echo CONFIG_NET_VRF=m >> .config echo CONFIG_MACSEC=m >> .config + echo CONFIG_NET_VENDOR_MICROSOFT=y >> .config + echo CONFIG_MICROSOFT_MANA=m >> .config make VERSION=$VERSION PATCHLEVEL=$PATCHLEVEL SUBLEVEL=$SUBLEVEL EXTRAVERSION=-${EXTRAVERSION} LOCALVERSION=-${LOCALVERSION} modules_prepare make M=drivers/net/team mv drivers/net/Makefile drivers/net/Makefile.bak