]> TLD Linux GIT Repositories - packages/virt-manager.git/commitdiff
- more paths for ARM UEFI firmware
authorMarcin Krol <hawk@tld-linux.org>
Thu, 9 May 2019 19:28:48 +0000 (21:28 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 9 May 2019 19:28:48 +0000 (21:28 +0200)
arm-ovmf-path.patch [new file with mode: 0644]
virt-manager.spec

diff --git a/arm-ovmf-path.patch b/arm-ovmf-path.patch
new file mode 100644 (file)
index 0000000..124fe83
--- /dev/null
@@ -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
+         ],
+     }
index 2cf8923e23247931db42536fd4ec80f514cb4285..455c0b2ece64e1f65c6b9d97ff842aa9b3eac793 100644 (file)
@@ -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 \