Support paths to SUSE OVMF firmwares

- bsc#961853 - virt-install doesn't work with option -boot uefi
  virtinst-uefi-loader-suse-regex.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=294
This commit is contained in:
James Fehlig 2016-01-28 00:26:41 +00:00 committed by Git OBS Bridge
parent 946c30ddbd
commit c09df7e5cd
3 changed files with 28 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 28 00:19:31 UTC 2016 - jfehlig@suse.com
- bsc#961853 - virt-install doesn't work with option -boot uefi
virtinst-uefi-loader-suse-regex.patch
-------------------------------------------------------------------
Wed Jan 27 11:19:48 MST 2016 - carnold@suse.com

View File

@ -48,6 +48,7 @@ Patch74: virtman-libvirtd-not-running.patch
Patch75: virtman-dont-allow-grub.xen-to-be-deleted.patch
Patch76: virtinst-pvgrub2-bootloader.patch
Patch77: virtinst-nfs-install-sanitize.patch
Patch78: virtinst-uefi-loader-suse-regex.patch
# Features or Enhancements
Patch100: virtman-eepro100.patch
Patch101: virtman-default-guest-from-host-os.patch
@ -165,6 +166,7 @@ machine).
%patch75 -p1
%patch76 -p1
%patch77 -p1
%patch78 -p1
# Enhancements
%patch100 -p1
%patch101 -p1

View File

@ -0,0 +1,20 @@
Support paths to SUSE OVMF firmwares
Extend the domcapabilities regex to include SUSE's OVMF
file naming convention.
bsc#961853
Index: virt-manager-1.3.2/virtinst/domcapabilities.py
===================================================================
--- virt-manager-1.3.2.orig/virtinst/domcapabilities.py
+++ virt-manager-1.3.2/virtinst/domcapabilities.py
@@ -101,6 +101,8 @@ class DomainCapabilities(XMLBuilder):
"x86_64": [
".*OVMF_CODE\.fd", # RHEL
".*ovmf-x64/OVMF.*\.fd", # gerd's firmware repo
+ ".*ovmf-x86_64-.*", # SUSE
+
],
"aarch64": [
".*AAVMF_CODE\.fd", # RHEL