404c30b2d8
caasp3.0 virtinst-add-caasp-support.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=427
20 lines
905 B
Diff
20 lines
905 B
Diff
References: bsc#1091113
|
|
In Tumbleweed the .treeinfo file has no version as it is mostly meaningless.
|
|
|
|
Index: virt-manager-1.5.1/virtinst/urlfetcher.py
|
|
===================================================================
|
|
--- virt-manager-1.5.1.orig/virtinst/urlfetcher.py
|
|
+++ virt-manager-1.5.1/virtinst/urlfetcher.py
|
|
@@ -1138,7 +1138,10 @@ class SuseDistro(Distro):
|
|
"Open Enterprise" in family and 'oes' in self.urldistro:
|
|
ret = True
|
|
if ret:
|
|
- version = self.treeinfo.get("general", "version")
|
|
+ if 'Tumbleweed' not in family:
|
|
+ version = self.treeinfo.get("general", "version")
|
|
+ else:
|
|
+ version = "tmblweed"
|
|
distro_version = ['VERSION', version]
|
|
self.version_from_content = distro_version
|
|
self._variantFromVersion()
|