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.
This commit is contained in:
Lucas De Marchi 2011-12-01 17:57:07 -02:00
parent 7636e72b15
commit 4a3eb3a4cc

View File

@ -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: