]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-functions.sh: also search in the updates directory
authorHarald Hoyer <harald@redhat.com>
Thu, 30 Jan 2014 13:27:18 +0000 (14:27 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 Jul 2014 09:52:05 +0000 (11:52 +0200)
dracut-functions.sh

index 2872516aacf71ca32faee8152190d4d1c00efdc1..96a20d521ac0b5882dfe9ac8ee1533561384e39d 100755 (executable)
@@ -1530,7 +1530,7 @@ find_kernel_modules_by_path () {
     _OLDIFS=$IFS
     IFS=:
     while read a rest; do
-        [[ $a = */$1/* ]] || continue
+        [[ $a = */$1/* ]] || [[ $a = */updates/* ]] || continue
         printf "%s\n" "$srcmods/$a"
     done < "$srcmods/modules.dep"
     IFS=$_OLDIFS