Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2024-02-11 15:44:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/virt-manager (Old)
 and      /work/SRC/openSUSE:Factory/.virt-manager.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "virt-manager"

Sun Feb 11 15:44:57 2024 rev:249 rq:1145533 version:4.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes        
2024-01-26 22:45:36.860623527 +0100
+++ /work/SRC/openSUSE:Factory/.virt-manager.new.1815/virt-manager.changes      
2024-02-11 15:45:13.653927285 +0100
@@ -1,0 +2,7 @@
+Fri Feb  9 14:13:18 MST 2024 - carn...@suse.com
+
+- Handle case where vm-install no longer exists on the host. This
+  is related to bsc#1219133.
+  virt-install.rb
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ virt-install.rb ++++++
--- /var/tmp/diff_new_pack.XRB3A9/_old  2024-02-11 15:45:16.126016191 +0100
+++ /var/tmp/diff_new_pack.XRB3A9/_new  2024-02-11 15:45:16.130016335 +0100
@@ -35,6 +35,7 @@
       Yast.import "Popup"
       Yast.import "String"
       Yast.import "Arch"
+      Yast.import "FileUtils"
 
       #===================================================================
       # Start virt-install (GUI) or vm-install if Text mode (commandline)
@@ -49,8 +50,12 @@
       end
 
       if UI.TextMode()
-        Builtins.y2milestone("Running virt-install in text mode is not 
supported. Running vm-install instead in command line mode.")
-        status = UI.RunInTerminal("/usr/bin/vm-install")
+        if FileUtils.Exists("/usr/bin/vm-install")
+          Builtins.y2milestone("Running virt-install in text mode is not 
supported. Running vm-install instead in command line mode.")
+          status = UI.RunInTerminal("/usr/bin/vm-install")
+        else
+          Popup.Error(_("Please use the command line to execute virt-install 
with the appropriate options for creating a VM."))
+        end
       else
         Builtins.y2milestone("Launching virt-manager to run virt-install in 
GUI mode.")
         if Arch.is_xen0 == false

Reply via email to