Skip to content

Commit

Permalink
[ci]: Fix config prompt question issue (#1693)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
xumia authored Jun 24, 2021
1 parent 5708497 commit 57dc403
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .azure-pipelines/build_and_install_module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57dc403

Please sign in to comment.