Blame SOURCES/0103-dracut-functions.sh-also-search-in-the-updates-direc.patch

18971c
From 27acb483e8f73ceb24eacca067dbea178d53aa2f Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Thu, 30 Jan 2014 14:27:18 +0100
18971c
Subject: [PATCH] dracut-functions.sh: also search in the updates directory
18971c
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 2872516a..96a20d52 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/* ]] || continue
18971c
+        [[ $a = */$1/* ]] || [[ $a = */updates/* ]] || continue
18971c
         printf "%s\n" "$srcmods/$a"
18971c
     done < "$srcmods/modules.dep"
18971c
     IFS=$_OLDIFS