diff options
author | sayad | 2021-01-28 10:21:45 +0600 |
---|---|---|
committer | sayad | 2021-01-28 10:21:45 +0600 |
commit | 773167b8ead2d962b27f9287cc672792ead2d0a2 (patch) | |
tree | 3831d8bb6969de1c4c99df71dc17f4edea4f5c47 | |
parent | 14449b6b3e2fdea2f529ad236d4b2a61863d18e0 (diff) | |
download | aur-773167b8ead2d962b27f9287cc672792ead2d0a2.tar.gz |
Bug fix
-rw-r--r-- | prepare | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -13,8 +13,6 @@ _tkg_initscript() { source "$_EXT_CONFIG_PATH" && msg2 "External configuration file $_EXT_CONFIG_PATH will be used to override customization.cfg values.\n" fi -_distro="Arch" - # create build dir early _path="${_where}" @@ -46,9 +44,9 @@ _distro="Arch" read -rp "`echo $' > 1.Custom\n 2.Ryzen Desktop (Performance)\n 3.Other Desktop (Performance)\nchoice[1-3?]: '`" _OPTIPROFILE; fi if [ "$_OPTIPROFILE" = "2" ]; then - source "{$_path}"/ryzen-desktop-profile.cfg && msg2 "Ryzen Desktop (Performance) profile will be used." && msg2 "" + source "$_where"/linux-tkg-config/ryzen-desktop-profile.cfg && msg2 "Ryzen Desktop (Performance) profile will be used." && msg2 "" elif [ "$_OPTIPROFILE" = "3" ]; then - source "{$_path}"/generic-desktop-profile.cfg && msg2 "Generic Desktop (Performance) profile will be used." && msg2 "" + source "$_where"/linux-tkg-config/generic-desktop-profile.cfg && msg2 "Generic Desktop (Performance) profile will be used." && msg2 "" fi # source cpuschedset early if present @@ -1023,10 +1021,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 |