1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00

man,test: root or hardware is not needed for ukify

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-06-06 20:32:33 +02:00
parent 794385f5df
commit 24f4ff8a09
2 changed files with 4 additions and 4 deletions

View File

@ -415,7 +415,7 @@
<example> <example>
<title>All the bells and whistles</title> <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 \ --linux=/lib/modules/6.0.9-300.fc37.x86_64/vmlinuz \
--initrd=early_cpio \ --initrd=early_cpio \
--initrd=/some/path/initramfs-6.0.9-300.fc37.x86_64.img \ --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
enter-initrd:leave-initrd:sysinit:ready 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 \ --linux=/lib/modules/6.0.9-300.fc37.x86_64/vmlinuz \
--initrd=/some/path/initramfs-6.0.9-300.fc37.x86_64.img --initrd=/some/path/initramfs-6.0.9-300.fc37.x86_64.img
</programlisting> </programlisting>

View File

@ -588,7 +588,7 @@ def test_pcr_signing(kernel_initrd, tmpdir):
'--uname=1.2.3', '--uname=1.2.3',
'--cmdline=ARG1 ARG2 ARG3', '--cmdline=ARG1 ARG2 ARG3',
'--os-release=ID=foobar\n', '--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'--pcrpkey={pub.name}',
f'--pcr-public-key={pub.name}', f'--pcr-public-key={pub.name}',
f'--pcr-private-key={priv.name}', f'--pcr-private-key={priv.name}',
@ -655,7 +655,7 @@ def test_pcr_signing2(kernel_initrd, tmpdir):
'--uname=1.2.3', '--uname=1.2.3',
'--cmdline=ARG1 ARG2 ARG3', '--cmdline=ARG1 ARG2 ARG3',
'--os-release=ID=foobar\n', '--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'--pcrpkey={pub2.name}',
f'--pcr-public-key={pub.name}', f'--pcr-public-key={pub.name}',
f'--pcr-private-key={priv.name}', f'--pcr-private-key={priv.name}',