summaryrefslogtreecommitdiffstats
path: root/src/ukify
diff options
context:
space:
mode:
authorJörg Behrmann <behrmann@physik.fu-berlin.de>2024-10-12 15:50:57 +0200
committerJörg Behrmann <behrmann@physik.fu-berlin.de>2024-10-14 09:59:25 +0200
commit929d6225b221a20d22dc0a0ee1f03696916ed9f8 (patch)
tree57da1db029b0fe8c6e7a927ec72ccefef885c5bc /src/ukify
parentukify: Require both key and cert be set in generate_keys (diff)
downloadsystemd-929d6225b221a20d22dc0a0ee1f03696916ed9f8.tar.xz
systemd-929d6225b221a20d22dc0a0ee1f03696916ed9f8.zip
ukify: Fix type of UKI.executable
Diffstat (limited to 'src/ukify')
-rwxr-xr-xsrc/ukify/ukify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py
index 80d4bfd7e7..94fe16db27 100755
--- a/src/ukify/ukify.py
+++ b/src/ukify/ukify.py
@@ -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: