Pino Toscano
2018-Jul-17 13:26 UTC
[Libguestfs] [PATCH] uefi: add non-deprecated Fedora paths for OVMF w/ secboot
Add new paths for the Secure Boot variant of OVMF as found in Fedora. --- generator/UEFI.ml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/generator/UEFI.ml b/generator/UEFI.ml index 1ff3f84d2..bca3fa1ae 100644 --- a/generator/UEFI.ml +++ b/generator/UEFI.ml @@ -52,6 +52,12 @@ let firmware = [ "/usr/share/edk2/ovmf/OVMF_VARS.fd", []; + "x86_64", + "/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd", + None, + "/usr/share/edk2/ovmf/OVMF_VARS.fd", + [ "UEFI_FLAG_SECURE_BOOT_REQUIRED" ]; + "x86_64", "/usr/share/qemu/ovmf-x86_64-code.bin", None, -- 2.17.1
Richard W.M. Jones
2018-Jul-17 15:30 UTC
Re: [Libguestfs] [PATCH] uefi: add non-deprecated Fedora paths for OVMF w/ secboot
On Tue, Jul 17, 2018 at 03:26:17PM +0200, Pino Toscano wrote:> Add new paths for the Secure Boot variant of OVMF as found in Fedora. > --- > generator/UEFI.ml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/generator/UEFI.ml b/generator/UEFI.ml > index 1ff3f84d2..bca3fa1ae 100644 > --- a/generator/UEFI.ml > +++ b/generator/UEFI.ml > @@ -52,6 +52,12 @@ let firmware = [ > "/usr/share/edk2/ovmf/OVMF_VARS.fd", > []; > > + "x86_64", > + "/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd", > + None, > + "/usr/share/edk2/ovmf/OVMF_VARS.fd", > + [ "UEFI_FLAG_SECURE_BOOT_REQUIRED" ]; > + > "x86_64", > "/usr/share/qemu/ovmf-x86_64-code.bin", > None,ACK Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org
Seemingly Similar Threads
- [PATCH] v2v: Use OVMF secure boot file (RHBZ#1367615).
- unable to find any master var store for loader error
- Re: unable to find any master var store for loader error
- [PATCH v2 0/2] v2v: Use OVMF secure boot file (RHBZ#1367615).
- [PATCH] uefi: remove last references to kraxel's old edk2 builds