linux-tkg: Accept default config w/ modprobed-db. (#47)

This alleviates Tk-Glitch/PKGBUILDS#404 by piping newlines to "make
localconfig".
This commit is contained in:
Koopa 2020-08-20 08:24:35 -04:00 committed by GitHub
parent 4804b9129f
commit 913245031b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -640,7 +640,7 @@ _tkg_srcprep() {
fi fi
if [[ "$CONDITIONMPDB" =~ [yY] ]] || [ "$_modprobeddb" == "true" ]; then if [[ "$CONDITIONMPDB" =~ [yY] ]] || [ "$_modprobeddb" == "true" ]; then
sudo modprobed-db recall sudo modprobed-db recall
make localmodconfig yes "" | make localmodconfig
fi fi
if [ true = "$_config_fragments" ]; then if [ true = "$_config_fragments" ]; then

View File

@ -803,7 +803,7 @@ _tkg_srcprep() {
fi fi
if [[ "$CONDITIONMPDB" =~ [yY] ]] || [ "$_modprobeddb" = "true" ]; then if [[ "$CONDITIONMPDB" =~ [yY] ]] || [ "$_modprobeddb" = "true" ]; then
sudo modprobed-db recall sudo modprobed-db recall
make localmodconfig yes "" | make localmodconfig
fi fi
if [ true = "$_config_fragments" ]; then if [ true = "$_config_fragments" ]; then

View File

@ -800,7 +800,7 @@ _tkg_srcprep() {
fi fi
if [[ "$CONDITIONMPDB" =~ [yY] ]] || [ "$_modprobeddb" = "true" ]; then if [[ "$CONDITIONMPDB" =~ [yY] ]] || [ "$_modprobeddb" = "true" ]; then
sudo modprobed-db recall sudo modprobed-db recall
make localmodconfig yes "" | make localmodconfig
fi fi
if [ true = "$_config_fragments" ]; then if [ true = "$_config_fragments" ]; then

View File

@ -798,7 +798,7 @@ _tkg_srcprep() {
fi fi
if [[ "$CONDITIONMPDB" =~ [yY] ]] || [ "$_modprobeddb" = "true" ]; then if [[ "$CONDITIONMPDB" =~ [yY] ]] || [ "$_modprobeddb" = "true" ]; then
sudo modprobed-db recall sudo modprobed-db recall
make localmodconfig yes "" | make localmodconfig
fi fi
if [ true = "$_config_fragments" ]; then if [ true = "$_config_fragments" ]; then