projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddf818d
)
dracut-functions.sh: fixed host-only kernel module bug
author
Harald Hoyer
<harald@redhat.com>
Fri, 20 Jul 2012 11:10:58 +0000
(13:10 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 20 Jul 2012 11:10:58 +0000
(13:10 +0200)
dracut-functions.sh
patch
|
blob
|
history
diff --git
a/dracut-functions.sh
b/dracut-functions.sh
index 7fa92357c6d14680ab121d8c2428d68250ecf14c..6358078b8adb16af4afa7dde303ac60c2ca9c595 100755
(executable)
--- a/
dracut-functions.sh
+++ b/
dracut-functions.sh
@@
-1296,8
+1296,8
@@
find_kernel_modules_by_path () (
( cd /sys/module; echo *; ) \
| xargs -r modinfo -F filename -k $kernel 2>/dev/null \
| while read a; do
- [[ $a = kernel*/$1/* ]] || continue
- echo $
srcmods/$
a
+ [[ $a =
*/
kernel*/$1/* ]] || continue
+ echo $a
done
fi
return 0