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;
|
read -rp "`echo $' > N/y : '`" CONDITIONMPDB;
|
||||||
fi
|
fi
|
||||||
if [[ "$CONDITIONMPDB" =~ [yY] ]] || [ "$_modprobeddb" = "true" ]; then
|
if [[ "$CONDITIONMPDB" =~ [yY] ]] || [ "$_modprobeddb" = "true" ]; then
|
||||||
if [ "$_distro" != "Void" ]; then
|
if [ "$_config_expert" = "true" ];then
|
||||||
sudo modprobed-db recall
|
make LSMOD=${HOME}/.config/modprobed.db localmodconfig ${llvm_opt}
|
||||||
|
else
|
||||||
|
yes "" | make LSMOD=${HOME}/.config/modprobed.db localmodconfig ${llvm_opt}
|
||||||
fi
|
fi
|
||||||
yes "" | make localmodconfig ${llvm_opt}
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ true = "$_config_fragments" ]; then
|
if [ true = "$_config_fragments" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user