Hello community,
here is the log from the commit of package yast2
checked in at Fri Jun 1 10:06:51 CEST 2007.
--------
--- yast2/yast2.changes 2007-05-25 11:14:29.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2/yast2.changes 2007-06-01 09:53:51.000000000 +0200
@@ -1,0 +2,17 @@
+Fri Jun 1 09:51:24 CEST 2007 - mzugec@suse.cz
+
+- add function NetworkService::isNetworkRunning()
+- NetworkStorage moved here from yast2-network
+- 2.15.35
+
+-------------------------------------------------------------------
+Wed May 30 13:48:27 CEST 2007 - sh@suse.de
+
+- Fixed bug #278790: save_y2logs complains about missing RPM DB
+
+-------------------------------------------------------------------
+Tue May 29 15:53:15 CEST 2007 - lslezak@suse.cz
+
+- updated metadata in the sysconfig file (#278612)
+
+-------------------------------------------------------------------
Old:
----
yast2-2.15.34.tar.bz2
New:
----
yast2-2.15.35.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.K12828/_old 2007-06-01 10:05:10.000000000 +0200
+++ /var/tmp/diff_new_pack.K12828/_new 2007-06-01 10:05:10.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2 (Version 2.15.34)
+# spec file for package yast2 (Version 2.15.35)
#
# 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
-Version: 2.15.34
+Version: 2.15.35
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-2.15.34.tar.bz2
+Source0: yast2-2.15.35.tar.bz2
prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-perl-bindings yast2-pkg-bindings yast2-testsuite
# SCR::RegisterNewAgents()
@@ -101,7 +101,7 @@
Steffen Winterfeldt
%prep
-%setup -n yast2-2.15.34
+%setup -n yast2-2.15.35
%build
%{prefix}/bin/y2tool y2autoconf
@@ -206,6 +206,14 @@
%doc %{prefix}/share/doc/packages/yast2/wizard
%changelog
+* Fri Jun 01 2007 - mzugec@suse.cz
+- add function NetworkService::isNetworkRunning()
+- NetworkStorage moved here from yast2-network
+- 2.15.35
+* Wed May 30 2007 - sh@suse.de
+- Fixed bug #278790: save_y2logs complains about missing RPM DB
+* Tue May 29 2007 - lslezak@suse.cz
+- updated metadata in the sysconfig file (#278612)
* Fri May 25 2007 - jsrain@suse.cz
- fixed spec file (removed duplicate .desktop files translations)
- removed translations from .desktop-files (#271209)
++++++ yast2-2.15.34.tar.bz2 -> yast2-2.15.35.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.34/data/sysconfig.yast2 new/yast2-2.15.35/data/sysconfig.yast2
--- old/yast2-2.15.34/data/sysconfig.yast2 2007-05-18 10:05:54.000000000 +0200
+++ new/yast2-2.15.35/data/sysconfig.yast2 2007-06-01 08:52:56.000000000 +0200
@@ -2,21 +2,22 @@
# to over-ride these settins per-user create a
# ~/.yast2/yast2 file.
-## Path: System/YaST2
+## Path: System/Yast2/GUI
+## Description: Default UI for YaST
## Type: list(auto,qt,gtk)
-## Description: Default control center for YaST
## Default: "auto"
-# selects the control-center implementation to be used
-# to render yast widgets
-# auto: will attempt to detect both desktop & plugin
-# presence and adapt accordingly
+# Default control center for YaST
+# selects the control-center implementation to be used
+# to render yast widgets
+# auto: will attempt to detect both desktop & plugin
+# presence and adapt accordingly
WANTED_SHELL="auto"
## Type: list(auto,qt,gtk,ncurses)
-## Description: Default UI backend for YaST
## Default: "auto"
-# selects the GUI plugin to be used to render yast widgets
-# auto: will attempt to detect both desktop & plugin
-# presence and adapt accordingly, falling back to
-# qt rendering if gtk is not present
+# Default UI backend for YaST
+# selects the GUI plugin to be used to render yast widgets
+# auto: will attempt to detect both desktop & plugin
+# presence and adapt accordingly, falling back to
+# qt rendering if gtk is not present
WANTED_GUI="auto"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.34/library/modules/Version.ycp new/yast2-2.15.35/library/modules/Version.ycp
--- old/yast2-2.15.34/library/modules/Version.ycp 2007-05-25 11:11:45.000000000 +0200
+++ new/yast2-2.15.35/library/modules/Version.ycp 2007-06-01 09:53:00.000000000 +0200
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.15.34";
+global string yast2 = "2.15.35";
/* EOF */
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.34/library/network/src/Makefile.am new/yast2-2.15.35/library/network/src/Makefile.am
--- old/yast2-2.15.34/library/network/src/Makefile.am 2007-05-18 10:05:52.000000000 +0200
+++ new/yast2-2.15.35/library/network/src/Makefile.am 2007-06-01 09:10:41.000000000 +0200
@@ -11,6 +11,7 @@
NetworkDevices.ycp \
NetworkPopup.ycp \
NetworkService.ycp \
+ NetworkStorage.ycp \
SuSEFirewall.ycp \
SuSEFirewallServices.ycp \
SuSEFirewallExpertRules.ycp \
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.34/library/network/src/Makefile.in new/yast2-2.15.35/library/network/src/Makefile.in
--- old/yast2-2.15.34/library/network/src/Makefile.in 2007-05-25 11:11:40.000000000 +0200
+++ new/yast2-2.15.35/library/network/src/Makefile.in 2007-06-01 09:28:45.000000000 +0200
@@ -187,6 +187,7 @@
NetworkDevices.ycp \
NetworkPopup.ycp \
NetworkService.ycp \
+ NetworkStorage.ycp \
SuSEFirewall.ycp \
SuSEFirewallServices.ycp \
SuSEFirewallExpertRules.ycp \
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.34/library/network/src/NetworkService.ycp new/yast2-2.15.35/library/network/src/NetworkService.ycp
--- old/yast2-2.15.34/library/network/src/NetworkService.ycp 2007-05-18 10:05:52.000000000 +0200
+++ new/yast2-2.15.35/library/network/src/NetworkService.ycp 2007-06-01 09:52:51.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Init script handling, ifup vs NetworkManager
* Authors: Martin Vidner
*
- * $Id: NetworkService.ycp 31444 2006-06-12 10:27:34Z mvidner $
+ * $Id: NetworkService.ycp 38231 2007-06-01 07:52:51Z mzugec $
*
* This module used to switch between rcnetwork and rcnetworkmanager.
* Now the master switch is /etc/sysconfig/network/config:NETWORKMANAGER
@@ -128,5 +128,19 @@
}
}
+
+global boolean isNetworkRunning(){
+ map output = (map)SCR::Execute(.target.bash_output,
+ "([ $(ip addr|grep -v '127.0.0.1'|grep -c inet) != '0' ] && echo 'network') || echo 'no net'");
+ if (issubstring(output["stdout"]:"", "network")) {
+ y2milestone ("Network is running ...");
+ return true;
+ } else {
+ y2milestone("Network is not running ...");
+ return false;
+ }
+
+}
+
/* EOF */
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.15.34/library/network/src/NetworkStorage.ycp new/yast2-2.15.35/library/network/src/NetworkStorage.ycp
--- old/yast2-2.15.34/library/network/src/NetworkStorage.ycp 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-2.15.35/library/network/src/NetworkStorage.ycp 2007-06-01 09:27:09.000000000 +0200
@@ -0,0 +1,44 @@
+/**
+ * File: modules/NetworkStorage.ycp
+ * Package: Network configuration
+ * Summary: Networked disks
+ * Authors: Martin Vidner
+ *
+ * $Id: NetworkStorage.ycp 38154 2007-05-28 08:20:39Z mzugec $
+ *
+ * #176804 - Root on iSCSI installation fails
+ */
+
+{
+
+module "NetworkStorage";
+
+global string getDevice(string mount_point){
+ map out = (map)SCR::Execute(.target.bash_output, sformat("grep ' %1 ' /proc/mounts|grep -v rootfs|cut -d' ' -f1|tr -d '\n'", mount_point));
+ string device=deletechars(out["stdout"]:"", "1234567890");
+ y2internal("%1", device);
+ return device;
+}
+
+/**
+ * If the disk is on a networked device (NFS, ISCSI),
+ * the main NIC needs STARTMODE nfsroot instead of auto.
+ * @return root dev over network
+ */
+global boolean isDiskOnNetwork(string device){
+ boolean ret=false;
+ foreach(map disk, (list