Skip to content

Commit

Permalink
Use rglob() in one more place
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanDeMeyer committed Mar 6, 2024
1 parent e93a0db commit 74c3186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkosi/kmod.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def resolve_module_dependencies(
"""
modulesd = Path("usr/lib/modules") / kver
builtin = set(module_path_to_name(Path(m)) for m in (root / modulesd / "modules.builtin").read_text().splitlines())
allmodules = set((root / modulesd / "kernel").glob("**/*.ko*"))
allmodules = set((root / modulesd / "kernel").rglob("*.ko*"))
nametofile = {module_path_to_name(m): m for m in allmodules}

log_step("Running modinfo to fetch kernel module dependencies")
Expand Down

0 comments on commit 74c3186

Please sign in to comment.