Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Slowroll:Build:1
virt-manager
virtinst-add-slem60-detection-support.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtinst-add-slem60-detection-support.patch of Package virt-manager
Add support for detecting SUSE Linux Micro 6.0 and newer. See also the osinfo-db package for the description file. Note that starting with Micro version 6.0, the word "Enterprise" was temporarily dropped from the Micro version name, then added back as the official name upon release but the ISO media does not have the word Enterprise. Index: virt-manager-4.1.0/virtinst/install/urldetect.py =================================================================== --- virt-manager-4.1.0.orig/virtinst/install/urldetect.py +++ virt-manager-4.1.0/virtinst/install/urldetect.py @@ -271,13 +271,16 @@ class _SUSEContent(object): ",", 1)[0].strip().rsplit(":")[4] distro_version = distro_version.strip() - if "Enterprise" in self.product_name or "SLES" in self.product_name: + if "Enterprise" in self.product_name or "SLES" in self.product_name or "Micro" in self.product_name: if " SAP " in self.product_name: sle_version = self.product_name.strip().rsplit(' ')[7] if " High Performance " in self.product_name: sle_version = self.product_name.strip().rsplit(' ')[6] else: - sle_version = self.product_name.strip().rsplit(' ')[4] + if "SUSE SL Micro" in self.product_name: + sle_version = self.product_name.strip().rsplit(' ')[3] + else: + sle_version = self.product_name.strip().rsplit(' ')[4] if len(self.product_name.strip().rsplit(' ')) > 5 and not " Micro " in self.product_name: if " SAP " in self.product_name: sle_version = (sle_version + '.' + @@ -704,7 +707,7 @@ class _MICRODistro(_SuseDistro): PRETTY_NAME = "SLES" matching_distros = ["slem"] _variant_prefix = "slem" - _suse_regex = [".*SUSE Linux Enterprise Micro*", ".*SUSE Micro*"] + _suse_regex = [".*SUSE Linux Enterprise Micro*", ".*SUSE Linux Micro*", ".*SUSE Micro*", ".*SUSE SL Micro*"] famregex = ".*SUSE Linux Enterprise Micro.*"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor