Hello community,

here is the log from the commit of package python-virtinst for openSUSE:Factory 
checked in at 2013-09-12 14:25:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-virtinst (Old)
 and      /work/SRC/openSUSE:Factory/.python-virtinst.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-virtinst"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-virtinst/python-virtinst.changes  
2013-07-27 15:53:22.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-virtinst.new/python-virtinst.changes     
2013-09-12 14:25:54.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Sep 11 16:34:08 MDT 2013 - [email protected]
+
+- Xen: Fix failing installations using cdrom after first reboot
+  virtinst-cdrom-install.patch
+
+-------------------------------------------------------------------

New:
----
  virtinst-cdrom-install.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-virtinst.spec ++++++
--- /var/tmp/diff_new_pack.eWg3TG/_old  2013-09-12 14:25:55.000000000 +0200
+++ /var/tmp/diff_new_pack.eWg3TG/_new  2013-09-12 14:25:55.000000000 +0200
@@ -54,6 +54,7 @@
 Patch20:        virtinst-xen-drive-type.patch
 Patch21:        virtinst-clone-disks.patch
 Patch22:        virtinst-use-qemu-driver-cdrom.patch
+Patch23:        virtinst-cdrom-install.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 #BuildArch: noarch
@@ -97,6 +98,7 @@
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
+%patch23 -p1
 
 %build
 python setup.py build

++++++ virtinst-cdrom-install.patch ++++++
Index: virtinst-0.600.4/virtinst/Guest.py
===================================================================
--- virtinst-0.600.4.orig/virtinst/Guest.py
+++ virtinst-0.600.4/virtinst/Guest.py
@@ -863,7 +863,9 @@ class Guest(XMLBuilderDomain.XMLBuilderD
                 if do_skip_disk(dev):
                     return ""
 
-                if do_remove_media(dev):
+                # For libxl, we either have a complete cdrom definition or 
nothing
+                # which means we keep the complete definition during 
installation.
+                if do_remove_media(dev) and self.type != "xen":
                     origpath = dev.path
                     dev.path = None
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to