forked from Sysdeploy/ipxe_scripts
Fix EFI signing cert (typo)
This commit is contained in:
parent
ca76f25aa4
commit
243906ba6b
|
@ -200,7 +200,7 @@ function make_ipxe_efi() {
|
||||||
local embed_file="$2"
|
local embed_file="$2"
|
||||||
local signing_cert="$3"
|
local signing_cert="$3"
|
||||||
local ca_cert="$4"
|
local ca_cert="$4"
|
||||||
local efi_key"$5"
|
local efi_key="$5"
|
||||||
local efi_cert="$6"
|
local efi_cert="$6"
|
||||||
|
|
||||||
embed_file="$(realpath "${embed_file}")"
|
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
|
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/
|
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
|
sbsign --key ${efi_key} --cert ${efi_cert} --output bin/ipxe.efi bin/ipxe.efi
|
||||||
|
|
||||||
cd "$curr"
|
cd "$curr"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user