Rebased and reapplied the fix, dropped the test case.

This commit is contained in:
xiahualiu
2026-07-16 14:32:56 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent f9348b3bc8
commit 9d02f0d9a7
+1 -1
View File
@@ -1374,7 +1374,7 @@ def make_uki(opts: UkifyConfig) -> None:
pcrpkey: Union[bytes, Path, None] = opts.pcrpkey
if pcrpkey is None:
keyutil_tool = find_tool('systemd-keyutil', '/usr/lib/systemd/systemd-keyutil')
keyutil_tool = find_tool('systemd-keyutil', '/usr/lib/systemd/systemd-keyutil', opts=opts)
cmd = [keyutil_tool, 'extract-public']
if opts.pcr_public_keys and len(opts.pcr_public_keys) == 1: