diff --git a/docs/how to sign&verify a EFI image.md b/docs/how to sign&verify a EFI image.md index 775a60b687906edaed99e8c1d63ced5a85bb4226..1d30f9da43023ee52207cf63d72548387521c1e6 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 ```