From: Harald Hoyer Date: Mon, 28 Apr 2014 10:45:44 +0000 (+0200) Subject: dracut-functions.sh: add /lib/modules/*/{extras|weak-updates} for kernel modules X-Git-Tag: RHEL-7.1~80 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1021bd2c1ece36c5a92b7282e0f452d9d1ececc;p=thirdparty%2Fdracut.git dracut-functions.sh: add /lib/modules/*/{extras|weak-updates} for kernel modules https://bugzilla.redhat.com/show_bug.cgi?id=1086291 --- diff --git a/dracut-functions.sh b/dracut-functions.sh index bddcdcf27..cb43f7ad3 100755 --- a/dracut-functions.sh +++ b/dracut-functions.sh @@ -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