54c03c
From e274f7bbcac0ef1ccc6ccd7e98fd645793c5a649 Mon Sep 17 00:00:00 2001
54c03c
From: Peter Robinson <pbrobinson@gmail.com>
54c03c
Date: Wed, 23 Jan 2019 03:05:22 +0000
54c03c
Subject: [PATCH 08/13] Add the latest location for EDK2 OVMF firmware location
54c03c
54c03c
The Tianocore EDK2 OVMF firmware can now often be found in the
54c03c
/usr/share/edk2/ovmf location so add this as an extra option.
54c03c
54c03c
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
54c03c
---
54c03c
 oz/ozutil.py | 2 ++
54c03c
 1 file changed, 2 insertions(+)
54c03c
54c03c
diff --git a/oz/ozutil.py b/oz/ozutil.py
54c03c
index 273a028..989c9d4 100644
54c03c
--- a/oz/ozutil.py
54c03c
+++ b/oz/ozutil.py
54c03c
@@ -1050,6 +1050,8 @@ def find_uefi_firmware(arch):
54c03c
     elif arch in ['x86_64']:
54c03c
         uefi_list = [UEFI('/usr/share/OVMF/OVMF_CODE.fd',
54c03c
                           '/usr/share/OVMF/OVMF_VARS.fd'),
54c03c
+                     UEFI('/usr/share/edk2/ovmf/OVMF_CODE.fd',
54c03c
+                          '/usr/share/edk2/ovmf/OVMF_VARS.fd'),
54c03c
                      UEFI('/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd',
54c03c
                           '/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd')]
54c03c
     elif arch in ['aarch64']:
54c03c
-- 
54c03c
2.20.1
54c03c