From 019243553d4119099fbc6a1e115092f335b1840b Mon Sep 17 00:00:00 2001 From: Vitaly Kuznetsov Date: Fri, 11 Nov 2022 17:15:55 +0100 Subject: [PATCH] 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 --- man/systemd-measure.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/systemd-measure.xml b/man/systemd-measure.xml index 46fc979654..f3b2834b2e 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