mirror of
https://github.com/AuxXxilium/kmod.git
synced 2025-02-23 10:18:13 +07:00
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:
parent
7636e72b15
commit
4a3eb3a4cc
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user