]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ukify: fix typos
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Mon, 30 Dec 2024 08:41:32 +0000 (09:41 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 30 Dec 2024 10:50:25 +0000 (10:50 +0000)
src/ukify/ukify.py

index 3f36aa7af6b084010d960816c11886e313bcd771..22195b86bdf1e7453c7456d7368b366128c35703 100755 (executable)
@@ -1126,8 +1126,8 @@ def make_uki(opts: UkifyConfig) -> None:
 
     pcrpkey: Union[bytes, Path, None] = opts.pcrpkey
     if pcrpkey is None:
-        measure_tool = find_tool('systemd-keyutil', '/usr/lib/systemd/systemd-keyutil')
-        cmd = [measure_tool, 'public']
+        keyutil_tool = find_tool('systemd-keyutil', '/usr/lib/systemd/systemd-keyutil')
+        cmd = [keyutil_tool, 'public']
 
         if opts.pcr_public_keys and len(opts.pcr_public_keys) == 1:
             # If we're using an engine or provider, the public key will be an X.509 certificate.
@@ -2140,10 +2140,10 @@ def finalize_options(opts: argparse.Namespace) -> None:
         opts.signtool = 'pesign'
 
     if opts.signing_provider and opts.signtool != 'systemd-sbsign':
-        raise ValueError('--signing-provider= can only be used with--signtool=systemd-sbsign')
+        raise ValueError('--signing-provider= can only be used with --signtool=systemd-sbsign')
 
     if opts.certificate_provider and opts.signtool != 'systemd-sbsign':
-        raise ValueError('--certificate-provider= can only be used with--signtool=systemd-sbsign')
+        raise ValueError('--certificate-provider= can only be used with --signtool=systemd-sbsign')
 
     if opts.sign_kernel and not opts.sb_key and not opts.sb_cert_name:
         raise ValueError(