From: Vitaly Kuznetsov Date: Fri, 11 Nov 2022 16:15:55 +0000 (+0100) Subject: measure: fix section names in 'objcopy' example in systemd-measure man X-Git-Tag: v253-rc1~530 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=019243553d4119099fbc6a1e115092f335b1840b;p=thirdparty%2Fsystemd.git measure: fix section names in 'objcopy' example in systemd-measure man A copy paste error has crippled in the objcopy example in 'systemd-measure' manual, "--change-section-vma" should reference the section being added, not ".splash". When used as-is, the resulting UKI is unbootable. Signed-off-by: Vitaly Kuznetsov --- diff --git a/man/systemd-measure.xml b/man/systemd-measure.xml index 46fc9796549..f3b2834b2ec 100644 --- a/man/systemd-measure.xml +++ b/man/systemd-measure.xml @@ -243,8 +243,8 @@ --add-section .initrd=initrd.cpio --change-section-vma .initrd=0x3000000 \ --add-section .splash=splash.bmp --change-section-vma .splash=0x100000 \ --add-section .dtb=devicetree.dtb --change-section-vma .dtb=0x40000 \ - --add-section .pcrsig=tpm2-pcr-signature.json --change-section-vma .splash=0x80000 \ - --add-section .pcrpkey=tpm2-pcr-public.pem --change-section-vma .splash=0x90000 \ + --add-section .pcrsig=tpm2-pcr-signature.json --change-section-vma .pcrsig=0x80000 \ + --add-section .pcrpkey=tpm2-pcr-public.pem --change-section-vma .pcrpkey=0x90000 \ /usr/lib/systemd/boot/efi/linuxx64.efi.stub \ foo.efi