From 1c5ee194bada18bd8758bef3118214cd0a9e8b3f Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Thu, 9 May 2019 21:28:48 +0200 Subject: [PATCH] - more paths for ARM UEFI firmware --- arm-ovmf-path.patch | 13 +++++++++++++ virt-manager.spec | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 arm-ovmf-path.patch diff --git a/arm-ovmf-path.patch b/arm-ovmf-path.patch new file mode 100644 index 0000000..124fe83 --- /dev/null +++ b/arm-ovmf-path.patch @@ -0,0 +1,13 @@ +diff -ur virt-manager-2.1.0.orig/virtinst/domcapabilities.py virt-manager-2.1.0/virtinst/domcapabilities.py +--- virt-manager-2.1.0.orig/virtinst/domcapabilities.py 2019-01-11 02:27:09.000000000 +0100 ++++ virt-manager-2.1.0/virtinst/domcapabilities.py 2019-05-09 21:23:21.532000000 +0200 +@@ -175,7 +175,9 @@ + r".*aarch64.*", # generic attempt at a catchall + ], + "armv7l": [ ++ r".*AAVMF32_CODE\.fd", # RHEL + r".*arm/QEMU_EFI.*", # fedora, gerd's firmware repo ++ r".*arm.*", # generic attempt at a catchall + ], + } + diff --git a/virt-manager.spec b/virt-manager.spec index 2cf8923..455c0b2 100644 --- a/virt-manager.spec +++ b/virt-manager.spec @@ -2,12 +2,13 @@ Summary: Virtual Machine Manager Summary(pl.UTF-8): Zarządca maszyn wirtualnych Name: virt-manager Version: 2.1.0 -Release: 1 +Release: 2 Epoch: 1 License: GPL v2+ Group: Applications/Emulators Source0: https://releases.pagure.org/virt-manager/%{name}-%{version}.tar.gz # Source0-md5: f9b820bf5213566a15b0c82f8151a418 +Patch0: arm-ovmf-path.patch URL: http://virt-manager.org/ BuildRequires: gettext-tools >= 0.14.1 BuildRequires: glib2-devel @@ -82,6 +83,7 @@ virt-clone (klonujący istniejącą maszynę wirtualną). %prep %setup -q +%patch0 -p1 %build %{__python3} setup.py \ -- 2.46.0