]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-functions.sh: add /lib/modules/*/{extras|weak-updates} for kernel modules
authorHarald Hoyer <harald@redhat.com>
Mon, 28 Apr 2014 10:45:44 +0000 (12:45 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 29 Jul 2014 09:52:07 +0000 (11:52 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=1086291

dracut-functions.sh

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