File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,17 @@ Vendor Keys: none
5454### 签署文件
5555终于,我们正式开始签署我们的文件
5656
57- 首先列出所有待签署的文件
57+ 首先我们重新生成一次` initramfs ` ,这会帮我们自动签署生成的文件
58+ ``` console
59+ # mkinitcpio -P
60+ ```
61+ 然后列出所有待签署的文件
5862``` console
5963# sbctl verify
6064Verifying file database and EFI images in /efi...
6165✗ /efi/EFI/BOOT/BOOTX64.EFI is not signed
62- ✗ /efi/EFI/Linux/arch-linux-fallback.efi is not signed
63- ✗ /efi/EFI/Linux/arch-linux.efi is not signed
66+ ✓ /efi/EFI/Linux/arch-linux-fallback.efi is signed
67+ ✓ /efi/EFI/Linux/arch-linux.efi is signed
6468✗ /efi/EFI/systemd/systemd-bootx64.efi is not signed
6569failed to verify file /efi/loader/entries.srel: /efi/loader/entries.srel: invalid pe header
6670failed to verify file /efi/loader/loader.conf: /efi/loader/loader.conf: invalid pe header
You can’t perform that action at this time.
0 commit comments