Browse Source

dracut-functions.sh:find_kernel_modules_by_path() fixed updates search

"updates/*" path does not start with "/"
master
Harald Hoyer 11 years ago
parent
commit
e8a7c9bc93
  1. 2
      dracut-functions.sh

2
dracut-functions.sh

@ -1596,7 +1596,7 @@ find_kernel_modules_by_path () { @@ -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

Loading…
Cancel
Save