]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ukify: Fix type of UKI.executable
authorJörg Behrmann <behrmann@physik.fu-berlin.de>
Sat, 12 Oct 2024 13:50:57 +0000 (15:50 +0200)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Mon, 14 Oct 2024 07:59:25 +0000 (09:59 +0200)
src/ukify/ukify.py

index 80d4bfd7e7cad0af88aff31d5929a08fd750a8ff..94fe16db27046df0eea8a53406915556eee22fa6 100755 (executable)
@@ -387,7 +387,7 @@ class Section:
 
 @dataclasses.dataclass
 class UKI:
-    executable: list[Union[Path, str]]
+    executable: Path
     sections: list[Section] = dataclasses.field(default_factory=list, init=False)
 
     def add_section(self, section: Section) -> None: