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:
@@ -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.
|
# 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=""
|
_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
|
# Disable some non-module debugging - See PKGBUILD for the list
|
||||||
_debugdisable="false"
|
_debugdisable="false"
|
||||||
|
|
||||||
|
@@ -1309,7 +1309,7 @@ CONFIG_DEBUG_INFO_BTF_MODULES=y\r
|
|||||||
|
|
||||||
# rewrite configuration
|
# rewrite configuration
|
||||||
msg2 "Setting config"
|
msg2 "Setting config"
|
||||||
make olddefconfig ${llvm_opt} >> "$_where"/prepare.log
|
make ${_config_updating} ${llvm_opt} |& tee -a "$_where"/prepare.log
|
||||||
|
|
||||||
# menuconfig / nconfig
|
# menuconfig / nconfig
|
||||||
if [ -z "$_menunconfig" ] && [ "$_distro" != "Void" ]; then
|
if [ -z "$_menunconfig" ] && [ "$_distro" != "Void" ]; then
|
||||||
|
Reference in New Issue
Block a user