From f02f7ba18d1568272c4416c4573e7a692c30ca66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AF=92=E6=B1=9F=E8=88=9F?= Date: Tue, 21 Nov 2023 08:43:28 +0000 Subject: [PATCH] =?UTF-8?q?update=20docs/how=20to=20sign&verify=20a=20EFI?= =?UTF-8?q?=20image.md.=20=E5=AF=B9=E7=BC=96=E8=AF=91=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=8C=85=E8=BF=9B=E8=A1=8C=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 寒江舟 --- docs/how to sign&verify a EFI image.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/how to sign&verify a EFI image.md b/docs/how to sign&verify a EFI image.md index 775a60b..1d30f9d 100644 --- a/docs/how to sign&verify a EFI image.md +++ b/docs/how to sign&verify a EFI image.md @@ -127,11 +127,14 @@ RUST_BACKTRACE=1 RUST_LOG=debug ./target/debug/client -c client.toml add --file- ## Using sbsigntools - first we should compile `sbsigntools` ``` -sudo dnf in gcc automake autoconf make binutils-devel gnu-efi gnu-efi-devel help2man # buildrequires on openEuler 22.03 +sudo dnf in gcc automake autoconf make binutils-devel gnu-efi gnu-efi-devel help2man openssl-devel util-linux-devel +# 根据./configure 提示缺少的文件进行安装 libuuid:util-linux-devel libcrypto:openssl-devel help2man:help2man bfd.h: binutils-devel +# buildrequires on openEuler 22.03 git clone https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git cd sbsigntools git submodule init && git submodule update ./autogen.sh && ./configure && make +make install # 进行安装 ``` - verify the signed EFI image using the certificate we exported ``` -- Gitee