Fix EFI signing cert (typo)

This commit is contained in:
Peter Šurda 2021-12-01 23:04:35 +08:00
parent ca76f25aa4
commit 243906ba6b
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -200,7 +200,7 @@ function make_ipxe_efi() {
local embed_file="$2"
local signing_cert="$3"
local ca_cert="$4"
local efi_key"$5"
local efi_key="$5"
local efi_cert="$6"
embed_file="$(realpath "${embed_file}")"
@ -231,8 +231,6 @@ function make_ipxe_efi() {
make bin-x86_64-efi/ipxe.efi EMBED="${embed_file}" CERT="${signing_cert},${ca_cert}" TRUST="${ca_cert}" || return 2
mv bin-x86_64-efi/ipxe.efi bin/
echo "\"${efi_key}\" \"${efi_cert}\""
ls -lah "${efi_key}" "${efi_cert}"
sbsign --key ${efi_key} --cert ${efi_cert} --output bin/ipxe.efi bin/ipxe.efi
cd "$curr"