]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man,test: root or hardware is not needed for ukify
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 6 Jun 2023 18:32:33 +0000 (20:32 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 12 Jun 2023 09:12:02 +0000 (11:12 +0200)
man/ukify.xml
src/ukify/test/test_ukify.py

index 098dacfb99fa99a192e732ebd31c707d8bb8edbe..b2e7f82d8fe8f176c9bf1109c7ef293f8049010e 100644 (file)
     <example>
       <title>All the bells and whistles</title>
 
-      <programlisting># /usr/lib/systemd/ukify build \
+      <programlisting>$ /usr/lib/systemd/ukify build \
       --linux=/lib/modules/6.0.9-300.fc37.x86_64/vmlinuz \
       --initrd=early_cpio \
       --initrd=/some/path/initramfs-6.0.9-300.fc37.x86_64.img \
@@ -472,7 +472,7 @@ Phases=enter-initrd:leave-initrd
        enter-initrd:leave-initrd:sysinit
        enter-initrd:leave-initrd:sysinit:ready
 
-# /usr/lib/systemd/ukify -c ukify.conf build \
+$ /usr/lib/systemd/ukify -c ukify.conf build \
         --linux=/lib/modules/6.0.9-300.fc37.x86_64/vmlinuz \
         --initrd=/some/path/initramfs-6.0.9-300.fc37.x86_64.img
       </programlisting>
index eae82c7f88fe4eee86a6fc1c650966a48e48c776..5829bae6985e06b4200bdd242f32b7b4f36d2b83 100755 (executable)
@@ -588,7 +588,7 @@ def test_pcr_signing(kernel_initrd, tmpdir):
         '--uname=1.2.3',
         '--cmdline=ARG1 ARG2 ARG3',
         '--os-release=ID=foobar\n',
-        '--pcr-banks=sha1',   # use sha1 as that is most likely to be supported
+        '--pcr-banks=sha1',   # use sha1 because it doesn't really matter
         f'--pcrpkey={pub.name}',
         f'--pcr-public-key={pub.name}',
         f'--pcr-private-key={priv.name}',
@@ -655,7 +655,7 @@ def test_pcr_signing2(kernel_initrd, tmpdir):
         '--uname=1.2.3',
         '--cmdline=ARG1 ARG2 ARG3',
         '--os-release=ID=foobar\n',
-        '--pcr-banks=sha1',   # use sha1 as that is most likely to be supported
+        '--pcr-banks=sha1',
         f'--pcrpkey={pub2.name}',
         f'--pcr-public-key={pub.name}',
         f'--pcr-private-key={priv.name}',