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:
3512925
)
dracut-funtions: fix 'instmods =modname'
author
David Dillow
<dave@thedillows.org>
Sat, 23 May 2009 02:12:08 +0000
(22:12 -0400)
committer
Harald Hoyer
<harald@redhat.com>
Mon, 25 May 2009 09:51:36 +0000
(11:51 +0200)
Move srcmods definition into the function, as $kernel isn't defined yet when
dracut-functions is sourced from dracut.
Signed-off-by: David Dillow <dave@thedillows.org>
dracut-functions
patch
|
blob
|
history
diff --git
a/dracut-functions
b/dracut-functions
index
2beaef2
..
36f1a96
100755
(executable)
--- a/
dracut-functions
+++ b/
dracut-functions
@@
-202,9
+202,9
@@
dracut_install() {
}
# install modules, and handle installing all their dependencies as well.
-srcmods="/lib/modules/$kernel/"
instmods() {
local mod mpargs modpath modname cmd
+ local srcmods="/lib/modules/$kernel/"
while (($# > 0)); do
mod=${1%.ko}
case $mod in