Update modprobed-db to new usage (#166)
* Update to new usage of modprobed-db * Modprobed-db: take config_expert into account
This commit is contained in:
parent
d2aefb4b7b
commit
2f3df56392
@ -1166,10 +1166,11 @@ _tkg_srcprep() {
|
||||
read -rp "`echo $' > N/y : '`" CONDITIONMPDB;
|
||||
fi
|
||||
if [[ "$CONDITIONMPDB" =~ [yY] ]] || [ "$_modprobeddb" = "true" ]; then
|
||||
if [ "$_distro" != "Void" ]; then
|
||||
sudo modprobed-db recall
|
||||
if [ "$_config_expert" = "true" ];then
|
||||
make LSMOD=${HOME}/.config/modprobed.db localmodconfig ${llvm_opt}
|
||||
else
|
||||
yes "" | make LSMOD=${HOME}/.config/modprobed.db localmodconfig ${llvm_opt}
|
||||
fi
|
||||
yes "" | make localmodconfig ${llvm_opt}
|
||||
fi
|
||||
|
||||
if [ true = "$_config_fragments" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user