virt-manager/virtinst-uefi-loader-suse-regex.patch

21 lines
658 B
Diff
Raw Normal View History

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