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

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