This commit is contained in:
Alexandre CATTEAU 2023-07-22 12:45:00 +02:00
parent 577e1e91e3
commit 640a842b55

View File

@ -22,7 +22,7 @@ $sudo objcopy \
$sudo sbsign --key /etc/secureboot/full/db.key --cert /etc/secureboot/full/db.crt --output $path_to_uki $path_to_uki $sudo sbsign --key /etc/secureboot/full/db.key --cert /etc/secureboot/full/db.crt --output $path_to_uki $path_to_uki
# if needed, copy UKI to EFI default boot path # if needed, copy UKI to EFI default boot path
if [[ -v $set_efi_default_image ]] && [[ $set_efi_default_image = "yes" ]]; then if [[ -v set_efi_default_image ]] && [[ $set_efi_default_image = "yes" ]]; then
$sudo cp $path_to_uki /efi/EFI/BOOT/BOOTX64.EFI $sudo cp $path_to_uki /efi/EFI/BOOT/BOOTX64.EFI
fi fi