Additional OVMF paths for recently updated Solus hosts (#422)

* Extra OVMF search paths needed for Solus
who have moved things around

also spotted a possible typo to investigate in the void additions

* Revert "updated submodule position"

This reverts commit 9648f79b81b5e72465785993bc62469130ac848f.

* minor cleanup

* try realign submodule backwards
pull/515/head
Phil Clifford 2 years ago committed by GitHub
parent 7d1e909088
commit ecc37fa329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      quickemu

@ -400,6 +400,10 @@ function vm_boot() {
elif [ -e "/usr/share/qemu/edk2-x86_64-secure-code.fd" ]; then
EFI_CODE="/usr/share/qemu/edk2-x86_64-secure-code.fd"
efi_vars "/usr/share/qemu/edk2-x86_64-code.fd" "${EFI_VARS}"
# Solus new place to hide
elif [ -e "/usr/share/edk2-ovmf/x64/OVMF_CODE.secboot.fd" ]; then
EFI_CODE="/usr/share/edk2-ovmf/x64/OVMF_CODE.secboot.fd"
efi_vars "/usr/share/edk2-ovmf/x64/OVMF_VARS.fd" "${EFI_VARS}"
else
echo "ERROR! SecureBoot was requested but no SecureBoot capable firmware was found."
echo " Please install OVMF firmware."
@ -428,6 +432,10 @@ function vm_boot() {
elif [ -e "/usr/share/qemu/edk2-x86_64-code.fd" ]; then
EFI_CODE="/usr/share/qemu/edk2-x86_64-code.fd"
efi_vars "/usr/share/qemu/edk2-x86_64-code.fd" "${EFI_VARS}"
# Solus
elif [ -e "/usr/share/edk2-ovmf/x64/OVMF_CODE.fd" ]; then
EFI_CODE="/usr/share/edk2-ovmf/x64/OVMF_CODE.fd"
efi_vars "/usr/share/edk2-ovmf/x64/OVMF_VARS.fd" "${EFI_VARS}"
else
echo "ERROR! EFI boot requested but no EFI firmware found."
echo " Please install OVMF firmware."

Loading…
Cancel
Save