From: Harald Hoyer Date: Mon, 17 Feb 2014 12:27:46 +0000 (+0100) Subject: dracut-functions.sh:find_kernel_modules_by_path() fixed updates search X-Git-Tag: 037~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e8a7c9bc93268d49ce8dd9959283c28ac94842e1;p=thirdparty%2Fdracut.git dracut-functions.sh:find_kernel_modules_by_path() fixed updates search "updates/*" path does not start with "/" --- diff --git a/dracut-functions.sh b/dracut-functions.sh index 32f264b95..afe2f38ed 100755 --- a/dracut-functions.sh +++ b/dracut-functions.sh @@ -1596,7 +1596,7 @@ find_kernel_modules_by_path () { _OLDIFS=$IFS IFS=: while read a rest; do - [[ $a = */$1/* ]] || [[ $a = */updates/* ]] || continue + [[ $a = */$1/* ]] || [[ $a = updates/* ]] || continue printf "%s\n" "$srcmods/$a" done < "$srcmods/modules.dep" IFS=$_OLDIFS