dracut-functions.sh:find_kernel_modules_by_path() fixed updates search
"updates/*" path does not start with "/"master
parent
cb802bfbc7
commit
e8a7c9bc93
|
|
@ -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…
Reference in New Issue