prepare: allow choosing oldconfig as the .config updating tool (#315)

* prepare: allow choosing oldconfig as the .config updating tool

Signed-off-by: Theo Anderson <telans@posteo.de>

* prepare: make oldconfig interactable

Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
James Beddek
2021-09-30 07:11:07 +13:00
committed by GitHub
parent 52d31be72d
commit ea5b1b4b48
2 changed files with 4 additions and 1 deletions

View File

@@ -82,6 +82,9 @@ _dracut_options="--lz4"
# One can use "kernelconfig.new" here to always use the latest edited .config file. modprobed-db needs to be used only once for its changes to be picked up.
_configfile=""
# Determine whether to call "olddefconfig" (default) or "oldconfig" for manual config updating interaction.
_config_updating="olddefconfig"
# Disable some non-module debugging - See PKGBUILD for the list
_debugdisable="false"

View File

@@ -1309,7 +1309,7 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\r
# rewrite configuration
msg2 "Setting config"
make olddefconfig ${llvm_opt} >> "$_where"/prepare.log
make ${_config_updating} ${llvm_opt} |& tee -a "$_where"/prepare.log
# menuconfig / nconfig
if [ -z "$_menunconfig" ] && [ "$_distro" != "Void" ]; then