From: Harald Hoyer Date: Thu, 30 Jan 2014 13:27:18 +0000 (+0100) Subject: dracut-functions.sh: also search in the updates directory X-Git-Tag: 037~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f57850d7e8800cc28c766c77ad0a881a9b6a1f36;p=thirdparty%2Fdracut.git dracut-functions.sh: also search in the updates directory --- diff --git a/dracut-functions.sh b/dracut-functions.sh index 7cfa097ef..c766ca3b7 100755 --- a/dracut-functions.sh +++ b/dracut-functions.sh @@ -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