From cdedc90cafe3ecdf2772ad7db66fbf822b70495c Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Fri, 14 Feb 2025 02:05:48 +0000 Subject: [PATCH] ukify: do not insist on a stub being available when joining pcrsigs It is not used in this case, so skip it, otherwise it will need to be installed even if it is not used Follow-up for 9876e88e23ad1ecbffd7c69b2e0a4cbff283f681 --- src/ukify/ukify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py index 64006186483..097a7ee0c66 100755 --- a/src/ukify/ukify.py +++ b/src/ukify/ukify.py @@ -2389,7 +2389,7 @@ def finalize_options(opts: argparse.Namespace) -> None: if opts.efi_arch is None: opts.efi_arch = guess_efi_arch() - if opts.stub is None: + if opts.stub is None and not opts.join_pcrsig: if opts.linux is not None: opts.stub = Path(f'/usr/lib/systemd/boot/efi/linux{opts.efi_arch}.efi.stub') else: -- 2.47.3