Skip to content

Commit 331ea57

Browse files
committed
code review
1 parent 6aebb82 commit 331ea57

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mkosi/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1514,7 +1514,8 @@ def finalize_kernel_modules_include(context: Context, *, include: Sequence[str],
15141514
else:
15151515
final.append(p)
15161516

1517-
return final
1517+
# deduplicate while maintaining ordering
1518+
return list({k:None for k in final})
15181519

15191520

15201521
def build_kernel_modules_initrd(context: Context, kver: str) -> Path:

0 commit comments

Comments
 (0)