Skip to content

Commit

Permalink
Check that systemd-sbsign is available before using it.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanDeMeyer committed Nov 14, 2024
1 parent 5948535 commit 1822997
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mkosi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1525,6 +1525,7 @@ def run_ukify(
"--signtool", (
"sbsign"
if context.config.secure_boot_sign_tool == SecureBootSignTool.sbsign
or not context.config.find_binary("systemd-sbsign", "/usr/lib/systemd/systemd-sbsign")
else "systemd-sbsign"
),
] # fmt: skip
Expand Down

0 comments on commit 1822997

Please sign in to comment.