mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone
Blob Blame History Raw
From ff8c65944b77224f6e3faa7e8f92f6300be075f2 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Thu, 30 Apr 2015 17:20:26 -0400
Subject: [PATCH] RHEL 7: v2v: efi: Remove references to Fedora / kraxel's OVMF
 packages.

---
 generator/UEFI.ml | 6 ------
 v2v/utils.ml      | 1 -
 2 files changed, 7 deletions(-)

diff --git a/generator/UEFI.ml b/generator/UEFI.ml
index 5161e28ee..1ff3f84d2 100644
--- a/generator/UEFI.ml
+++ b/generator/UEFI.ml
@@ -30,12 +30,6 @@ open Docstrings
 
 (* Order is significant *within architectures only*. *)
 let firmware = [
-    "i386",
-    "/usr/share/edk2.git/ovmf-ia32/OVMF_CODE-pure-efi.fd",
-    None,
-    "/usr/share/edk2.git/ovmf-ia32/OVMF_VARS-pure-efi.fd",
-    [];
-
     "x86_64",
     "/usr/share/OVMF/OVMF_CODE.fd",
     None,
diff --git a/v2v/utils.ml b/v2v/utils.ml
index 812d339e0..436acb5f1 100644
--- a/v2v/utils.ml
+++ b/v2v/utils.ml
@@ -65,7 +65,6 @@ let find_uefi_firmware guest_arch =
   let files =
     (* The lists of firmware are actually defined in common/utils/uefi.c. *)
     match guest_arch with
-    | "i386" | "i486" | "i586" | "i686" -> Uefi.uefi_i386_firmware
     | "x86_64" -> Uefi.uefi_x86_64_firmware
     | "aarch64" -> Uefi.uefi_aarch64_firmware
     | arch ->
-- 
2.20.1