Hello community,
here is the log from the commit of package yast2-vm
checked in at Tue Jun 5 20:08:42 CEST 2007.
--------
--- arch/i386/yast2-vm/yast2-vm.changes 2007-05-21 21:26:56.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-vm/yast2-vm.changes 2007-06-05 18:50:06.218231000 +0200
@@ -1,0 +2,7 @@
+Tue Jun 5 09:57:06 MDT 2007 - carnold@novell.com
+
+- Respond when "help" is requested at the command line. (#269913)
+- Prompt for installing graphical tools when running in text mode.
+ (#268510)
+
+-------------------------------------------------------------------
Old:
----
yast2-vm-2.15.4.tar.bz2
New:
----
yast2-vm-2.16.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-vm.spec ++++++
--- /var/tmp/diff_new_pack.Rx8924/_old 2007-06-05 20:08:11.000000000 +0200
+++ /var/tmp/diff_new_pack.Rx8924/_new 2007-06-05 20:08:11.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-vm (Version 2.15.4)
+# spec file for package yast2-vm (Version 2.16.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
# norootforbuild
Name: yast2-vm
-Version: 2.15.4
+Version: 2.16.1
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-vm-2.15.4.tar.bz2
+Source0: yast2-vm-2.16.1.tar.bz2
prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-testsuite
Requires: yast2
@@ -33,7 +33,7 @@
Michael G. Fritch
%prep
-%setup -n yast2-vm-2.15.4
+%setup -n yast2-vm-2.16.1
%build
%{prefix}/bin/y2tool y2autoconf
@@ -66,6 +66,10 @@
%doc %{prefix}/share/doc/packages/yast2-vm
%changelog
+* Tue Jun 05 2007 - carnold@novell.com
+- Respond when "help" is requested at the command line. (#269913)
+- Prompt for installing graphical tools when running in text mode.
+ (#268510)
* Mon May 21 2007 - carnold@novell.com
- The 'Virtualization' category is missing and the virtualization
icons are in the other category. (#258600)
++++++ yast2-vm-2.15.4.tar.bz2 -> yast2-vm-2.16.1.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-vm-2.15.4/src/VM_XEN.ycp new/yast2-vm-2.16.1/src/VM_XEN.ycp
--- old/yast2-vm-2.15.4/src/VM_XEN.ycp 2007-05-21 16:17:55.000000000 +0200
+++ new/yast2-vm-2.16.1/src/VM_XEN.ycp 2007-06-05 17:59:27.000000000 +0200
@@ -24,7 +24,7 @@
* Authors: Ladislav Slezak
* Michael G. Fritch
*
- * $Id: VM_XEN.ycp 36897 2007-03-12 16:17:44Z mgfritch $
+ * $Id: VM_XEN.ycp 38297 2007-06-05 15:59:26Z charlesa $
*/
{
@@ -181,8 +181,13 @@
list<string> packages = ["xen", "xen-libs", "xen-tools", "xen-tools-ioemu"];
packages = add(packages, kernel_pkg);
+ boolean inst_gui = true;
+
// Assume python gtk is installed. If in text mode we don't care
- if (UI::GetDisplayInfo()["TextMode"]:true == false) {
+ if (UI::GetDisplayInfo()["TextMode"]:true == true) {
+ inst_gui = Popup::YesNo (_("Running in text mode. Install graphical components anyway?"));
+ }
+ if ( inst_gui == true ) {
packages = add(packages, "python-gtk");
// Also make sure virt-manager is there - runs GUI only
packages = add(packages, "virt-manager");
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-vm-2.15.4/src/xen.ycp new/yast2-vm-2.16.1/src/xen.ycp
--- old/yast2-vm-2.15.4/src/xen.ycp 2007-05-21 16:17:55.000000000 +0200
+++ new/yast2-vm-2.16.1/src/xen.ycp 2007-05-25 20:55:57.000000000 +0200
@@ -41,6 +41,7 @@
import "Arch";
+ import "CommandLine";
import "Mode";
import "Package";
import "Popup";
@@ -66,38 +67,24 @@
return ret;
}
+ /* Main */
-/* boolean GUIHandler() {
-
- // Assume python gtk is installed. If in text mode we don't care
- if (UI::GetDisplayInfo()["TextMode"]:true == false) {
- // FIXME: do we want to launch the GUI???
- // start the Xen VM install GUI
- //string cmd = "/usr/sbin/xen-vm-install";
- //y2milestone("Executing: %1", cmd);
- //integer ret = (integer)SCR::Execute(.target.bash_background, cmd);
- //y2milestone("GUIHandler returned: %1", (ret == 0));
- //return (ret == 0);
- }
-
- return true;
- }
-*/
+ /**
+ * Definition of command line mode options
+ */
+ map cmdline = $[
+ "id" : "vm",
+ "help" : _("Install Hypervisor and Tools"),
+ "guihandler" : CheckConfiguration
+ ];
- /* Main */
+ any rc = CommandLine::Run(cmdline);
+ y2milestone("YAST2-VM: rc = %1", rc);
// Always check the dom0 configuration
- boolean ret = CheckConfiguration();
- if (ret == false) return `abort;
-
- // only start the GUI if we are running Xen kernel
- /* if (Arch::is_xen()) {
- ret = GUIHandler();
- if (ret == false) return `abort;
- }
-*/
-
+// boolean ret = CheckConfiguration();
+// if (ret == false) return `abort;
/* Finish */
y2milestone("Xen (yast-vm) module finished");
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-vm-2.15.4/VERSION new/yast2-vm-2.16.1/VERSION
--- old/yast2-vm-2.15.4/VERSION 2007-05-21 16:24:20.000000000 +0200
+++ new/yast2-vm-2.16.1/VERSION 2007-06-05 17:10:43.000000000 +0200
@@ -1 +1 @@
-2.15.4
+2.16.1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org