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

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