summaryrefslogtreecommitdiff
path: root/libre/virt-manager/libre.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-09-08 13:12:06 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-09-08 13:12:06 -0500
commit7d43f20e25196ce55fe7b1ed5eabe2882b02b086 (patch)
treef7eca8b4e12bf7dc70205f32c51b19e5099b0d94 /libre/virt-manager/libre.patch
parent8a2368438d7c04f766d1759ee5b38a9a046a361a (diff)
virt-manager-1.4.2-2.parabola1: rebuild
Diffstat (limited to 'libre/virt-manager/libre.patch')
-rw-r--r--libre/virt-manager/libre.patch56
1 files changed, 53 insertions, 3 deletions
diff --git a/libre/virt-manager/libre.patch b/libre/virt-manager/libre.patch
index 98486472a..4f1afedc1 100644
--- a/libre/virt-manager/libre.patch
+++ b/libre/virt-manager/libre.patch
@@ -2057,7 +2057,21 @@
# Move 'generic' to the front of the list
types = virtinst.OSDB.list_types()
-@@ -1046,8 +1044,6 @@
+@@ -1009,13 +1007,7 @@
+ # Pretty names for OSes. If a new OS is not found here,
+ # its capitalized name is used.
+ oses = {
+- "bsd": _("BSD"),
+ "generic": _("Generic"),
+- "linux": _("Linux"),
+- "macos": _("macOS"),
+- "other": _("Others"),
+- "solaris": _("Solaris"),
+- "windows": _("Windows"),
+ }
+
+ # When only the "supported" types are requested,
+@@ -1046,32 +1038,14 @@
completion_model = self.widget("install-os-version-entry").get_completion().get_model()
completion_model.clear()
@@ -2066,7 +2080,23 @@
# All the subgroups for top-level types. Distributions not
# belonging to these groups will be shown either in a "Others"
# group, or top-level if there are no other groups.
-@@ -1070,8 +1066,6 @@
+- groups = {
+- "altlinux": _("ALT Linux"),
+- "centos": _("CentOS"),
+- "debian": _("Debian"),
+- "fedora": _("Fedora"),
+- "freebsd": _("FreeBSD"),
+- "mageia": _("Mageia"),
+- "netbsd": _("NetBSD"),
+- "openbsd": _("OpenBSD"),
+- "opensuse": _("openSUSE"),
+- "rhel": _("Red Hat Enterprise Linux"),
+- "sled": _("SUSE Linux Enterprise Desktop"),
+- "sles": _("SUSE Linux Enterprise Server"),
+- "ubuntu": _("Ubuntu"),
+- }
++ groups = {}
+
if self._show_all_os_was_selected:
# List all the OSes, and determine which OSes have groups,
# and which do not.
@@ -2075,7 +2105,7 @@
all_distros = set([_os.distro for _os in variants])
distros = [_os for _os in all_distros if _os in groups]
distros.sort()
-@@ -1099,15 +1093,13 @@
+@@ -1099,15 +1073,13 @@
else:
# We are showing only the supported systems, so query them,
# and add them directly to their type.
@@ -2093,6 +2123,26 @@
widget.set_active(0)
+@@ -1224,9 +1196,7 @@
+
+ osstr = ""
+ have_os = True
+- if self._guest.os.is_container():
+- osstr = _("Linux")
+- elif not distro:
++ if not distro:
+ osstr = _("Generic")
+ have_os = False
+ elif not version:
+@@ -1328,7 +1298,7 @@
+ break
+
+ if not variant:
+- return (None, None, False, None, None)
++ return (None, None, True, None, None)
+
+ if drow:
+ distro = drow[OS_COL_ID]
--- virt-manager-1.4.2.orig/virtcli/cliconfig.py 2017-08-08 17:04:11.000000000 -0500
+++ virt-manager-1.4.2/virtcli/cliconfig.py 2017-08-15 01:23:24.289573171 -0500
@@ -79,8 +79,6 @@