Add UKI signing to build script
This commit is contained in:
parent
eace144e90
commit
7b6d5db1b2
@ -17,6 +17,8 @@ $sudo objcopy \
|
|||||||
--add-section .initrd="$path_to_vmlinuz_link/initrd.img" --change-section-vma .initrd=0x3000000 \
|
--add-section .initrd="$path_to_vmlinuz_link/initrd.img" --change-section-vma .initrd=0x3000000 \
|
||||||
/usr/lib/systemd/boot/efi/linuxx64.efi.stub $path_to_uki
|
/usr/lib/systemd/boot/efi/linuxx64.efi.stub $path_to_uki
|
||||||
|
|
||||||
# TODO Sign UKI
|
# Sign UKI
|
||||||
|
$sudo sbsign --key /etc/secureboot/keys/db/db.key --cert /etc/secureboot/keys/db/db.crt --output $path_to_uki \
|
||||||
|
$path_to_uki
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user