Blame SOURCES/0160-dracut-functions.sh-add-lib-modules-extras-weak-upda.patch

a56a5e
From e1021bd2c1ece36c5a92b7282e0f452d9d1ececc Mon Sep 17 00:00:00 2001
345d7b
From: Harald Hoyer <harald@redhat.com>
345d7b
Date: Mon, 28 Apr 2014 12:45:44 +0200
345d7b
Subject: [PATCH] dracut-functions.sh: add /lib/modules/*/{extras|weak-updates}
345d7b
 for kernel modules
345d7b
345d7b
https://bugzilla.redhat.com/show_bug.cgi?id=1086291
345d7b
---
345d7b
 dracut-functions.sh | 2 +-
345d7b
 1 file changed, 1 insertion(+), 1 deletion(-)
345d7b
345d7b
diff --git a/dracut-functions.sh b/dracut-functions.sh
345d7b
index bddcdcf..cb43f7a 100755
345d7b
--- a/dracut-functions.sh
345d7b
+++ b/dracut-functions.sh
345d7b
@@ -1530,7 +1530,7 @@ find_kernel_modules_by_path () {
345d7b
     _OLDIFS=$IFS
345d7b
     IFS=:
345d7b
     while read a rest; do
345d7b
-        [[ $a = */$1/* ]] || [[ $a = updates/* ]] || continue
345d7b
+        [[ $a = */$1/* ]] || [[ $a = updates/* ]] || [[ $a = extra/* ]] || [[ $a = weak-updates/* ]] ||continue
345d7b
         printf "%s\n" "$srcmods/$a"
345d7b
     done < "$srcmods/modules.dep"
345d7b
     IFS=$_OLDIFS