From: Lucas De Marchi Date: Thu, 1 Dec 2011 19:57:07 +0000 (-0200) Subject: Add dependencies when module is create by name lookup X-Git-Tag: v1~150 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4a3eb3a4ccccd6453bae466f9b6c15288fdfed28;p=thirdparty%2Fkmod.git Add dependencies when module is create by name lookup 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. --- diff --git a/libkmod/libkmod.c b/libkmod/libkmod.c index a745ddeb..4b057887 100644 --- 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: