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

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