Hello community,
here is the log from the commit of package yast2
checked in at Tue Dec 2 15:42:49 CET 2008.
--------
--- yast2/yast2.changes 2008-12-01 11:50:58.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2/yast2.changes 2008-12-02 14:19:16.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Dec 2 14:05:30 CET 2008 - mzugec@suse.cz
+
+- improved rootfs on network-based disk detection (bnc#445004)
+- 2.17.54
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-2.17.53.tar.bz2
New:
----
yast2-2.17.54.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.sfr376/_old 2008-12-02 15:42:05.000000000 +0100
+++ /var/tmp/diff_new_pack.sfr376/_new 2008-12-02 15:42:05.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2 (Version 2.17.53)
+# spec file for package yast2 (Version 2.17.54)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2
-Version: 2.17.53
-Release: 2
+Version: 2.17.54
+Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-2.17.53.tar.bz2
+Source0: yast2-2.17.54.tar.bz2
Prefix: /usr
Source1: yast2-rpmlintrc
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-perl-bindings yast2-testsuite
@@ -147,7 +147,7 @@
Steffen Winterfeldt
%prep
-%setup -n yast2-2.17.53
+%setup -n yast2-2.17.54
%build
%{prefix}/bin/y2tool y2autoconf
@@ -250,8 +250,10 @@
%doc %{prefix}/share/doc/packages/yast2/system
%doc %{prefix}/share/doc/packages/yast2/types
%doc %{prefix}/share/doc/packages/yast2/wizard
-
%changelog
+* Tue Dec 02 2008 mzugec@suse.cz
+- improved rootfs on network-based disk detection (bnc#445004)
+- 2.17.54
* Mon Dec 01 2008 mzugec@suse.cz
- Confirm::Detection() - exception for s390 (bnc#429562)
* Fri Nov 28 2008 locilka@suse.cz
++++++ yast2-2.17.53.tar.bz2 -> yast2-2.17.54.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.53/library/modules/Version.ycp new/yast2-2.17.54/library/modules/Version.ycp
--- old/yast2-2.17.53/library/modules/Version.ycp 2008-12-01 11:41:18.000000000 +0100
+++ new/yast2-2.17.54/library/modules/Version.ycp 2008-12-02 14:14:36.000000000 +0100
@@ -20,7 +20,7 @@
/**
* Version of the yast2 package
*/
-global string yast2 = "2.17.53";
+global string yast2 = "2.17.54";
/* EOF */
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-2.17.53/library/network/src/NetworkStorage.ycp new/yast2-2.17.54/library/network/src/NetworkStorage.ycp
--- old/yast2-2.17.53/library/network/src/NetworkStorage.ycp 2008-06-06 14:28:38.000000000 +0200
+++ new/yast2-2.17.54/library/network/src/NetworkStorage.ycp 2008-12-02 13:40:55.000000000 +0100
@@ -13,6 +13,8 @@
module "NetworkStorage";
+import "FileUtils";
+
global string getDevice(string mount_point){
map out = (map)SCR::Execute(.target.bash_output, sformat("grep ' %1 ' /proc/mounts|grep -v rootfs|tr -d '\n'", mount_point));
list<string> rows = splitstring(out["stdout"]:"", " ");
@@ -30,19 +32,53 @@
* @return root dev over network
*/
global boolean isDiskOnNetwork(string device){
+ y2milestone("begin isDiskOnNetwork(%1) function", device);
if (device=="nfs") return true;
boolean network_based=false;
- // test for iSCSI
- foreach(map disk, (list