]> 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>
Thu, 30 Jan 2014 16:38:27 +0000 (17:38 +0100)
dracut-functions.sh

index 7cfa097efcdf3e08f631feef6dfc401c975c6a4d..c766ca3b7878cfa6d73b6e28d48da6c944173919 100755 (executable)
@@ -1551,7 +1551,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