From: Luca Boccassi Date: Fri, 14 Feb 2025 02:05:48 +0000 (+0000) Subject: ukify: do not insist on a stub being available when joining pcrsigs X-Git-Tag: v258-rc1~1336^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F36381%2Fhead;p=thirdparty%2Fsystemd.git 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 --- 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: