projects
/
platform
/
upstream
/
kmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7636e72
)
Add dependencies when module is create by name lookup
author
Lucas De Marchi
<lucas.demarchi@profusion.mobi>
Thu, 1 Dec 2011 19:57:07 +0000
(17:57 -0200)
committer
Lucas De Marchi
<lucas.demarchi@profusion.mobi>
Thu, 1 Dec 2011 19:57:07 +0000
(17:57 -0200)
We already have the data needed to add the dependencies, so call
fucntion to transform it in a list and save in kmod_module structure.
libkmod/libkmod.c
patch
|
blob
|
history
diff --git
a/libkmod/libkmod.c
b/libkmod/libkmod.c
index
a745dde
..
4b05788
100644
(file)
--- a/
libkmod/libkmod.c
+++ b/
libkmod/libkmod.c
@@
-373,6
+373,7
@@
int kmod_lookup_alias_from_moddep_file(struct kmod_ctx *ctx, const char *name,
}
*list = kmod_list_append(*list, mod);
+ kmod_module_parse_dep(mod, line);
}
finish: