Hello community,
here is the log from the commit of package yast2-network
checked in at Tue Feb 6 19:23:58 CET 2007.
--------
--- yast2-network/yast2-network.changes 2007-01-30 09:47:04.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-network/yast2-network.changes 2007-02-06 10:24:11.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Feb 6 10:24:06 CET 2007 - mzugec@suse.de
+
+- support for handle toggling between OSA Layer2/3 during installation (#184438)
+- 2.15.11
+
+-------------------------------------------------------------------
Old:
----
yast2-network-2.15.10.tar.bz2
New:
----
yast2-network-2.15.11.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-network.spec ++++++
--- /var/tmp/diff_new_pack.z12555/_old 2007-02-06 19:23:21.000000000 +0100
+++ /var/tmp/diff_new_pack.z12555/_new 2007-02-06 19:23:21.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-network (Version 2.15.10)
+# spec file for package yast2-network (Version 2.15.11)
#
# 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-network
-Version: 2.15.10
-Release: 2
+Version: 2.15.11
+Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-network-2.15.10.tar.bz2
+Source0: yast2-network-2.15.11.tar.bz2
prefix: /usr
# should be required by devtools
BuildRequires: perl-XML-Writer pkgconfig
@@ -51,7 +51,7 @@
Michal Svec
%prep
-%setup -n yast2-network-2.15.10
+%setup -n yast2-network-2.15.11
%build
%{prefix}/bin/y2tool y2autoconf
@@ -107,6 +107,9 @@
/usr/share/YaST2/schema/autoyast/rnc/proxy.rnc
%changelog -n yast2-network
+* Tue Feb 06 2007 - mzugec@suse.de
+- support for handle toggling between OSA Layer2/3 during installation (#184438)
+- 2.15.11
* Tue Jan 30 2007 - mzugec@suse.de
- fixed testsuite
* Fri Jan 26 2007 - kmachalkova@suse.cz
++++++ yast2-network-2.15.10.tar.bz2 -> yast2-network-2.15.11.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.15.10/src/clients/lan_auto.ycp new/yast2-network-2.15.11/src/clients/lan_auto.ycp
--- old/yast2-network-2.15.10/src/clients/lan_auto.ycp 2007-01-04 15:59:29.000000000 +0100
+++ new/yast2-network-2.15.11/src/clients/lan_auto.ycp 2007-02-06 10:24:38.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Lan configuration proposal
* Authors: Michal Svec
*
- * $Id: lan_auto.ycp 35073 2007-01-04 14:58:46Z mzugec $
+ * $Id: lan_auto.ycp 35875 2007-02-06 09:22:51Z mzugec $
*/
{
@@ -144,7 +144,7 @@
input["config"] = $[ "dhcp": dhcp ];
if (input["strict_IP_check_timeout"]:nil != nil)
- input["config", "config"] = $["CHECK_DUPLICATE_IP": true];
+ input["config", "config"] = $["CHECK_DUPLICATE_IP": true];
y2milestone("input=%1", input);
return input;
@@ -274,6 +274,7 @@
{
if (Lan::isAnyInterfaceDown()){
integer timeout = Lan::autoinstall_settings["strict_IP_check_timeout"]:0;
+ y2debug("timeout %1", timeout);
string error_text = _("Configuration Error : not initialized interface!");
if (timeout == 0) Popup::Error(error_text);
else Popup::TimedError(error_text, timeout);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.15.10/src/modules/Detection.ycp new/yast2-network-2.15.11/src/modules/Detection.ycp
--- old/yast2-network-2.15.10/src/modules/Detection.ycp 2006-12-11 13:20:54.000000000 +0100
+++ new/yast2-network-2.15.11/src/modules/Detection.ycp 2007-02-06 10:24:38.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Network detection
* Authors: Michal Svec
*
- * $Id: Detection.ycp 34593 2006-11-27 09:44:06Z mzugec $
+ * $Id: Detection.ycp 35875 2007-02-06 09:22:51Z mzugec $
*
* <p>Detects network settings, using dhcp or sniffing network traffic</p>
*
@@ -113,7 +113,7 @@
Package::InstallKernel (maplist (string m, detection_modules, ``(m+".ko")));
foreach (string mod, detection_modules, {
y2milestone("Loading module: %1", mod);
- SCR::Execute (.target.bash, sformat ("/sbin/modprobe --use-blacklist %1 2>&1", mod));
+ SCR::Execute (.target.bash, sformat ("/sbin/modprobe %1 2>&1", mod));
});
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.15.10/src/modules/Lan.ycp new/yast2-network-2.15.11/src/modules/Lan.ycp
--- old/yast2-network-2.15.10/src/modules/Lan.ycp 2007-01-30 09:45:15.000000000 +0100
+++ new/yast2-network-2.15.11/src/modules/Lan.ycp 2007-02-06 10:24:38.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Network card data
* Authors: Michal Svec
*
- * $Id: Lan.ycp 35653 2007-01-26 12:31:43Z kmachalkova $
+ * $Id: Lan.ycp 35875 2007-02-06 09:22:51Z mzugec $
*
* Representation of the configuration of network cards.
* Input and output routines.
@@ -226,7 +226,6 @@
"cat /proc/net/dev | cut -d':' -f1 | grep -v '|' | tr -d '\n' | sed 's/ \\+/ /g'"))["stdout"]:""), " ");
foreach(string net_dev, net_devices, {
list<string> row = splitstring(((map)SCR::Execute(.target.bash_output, sformat("ip address show dev %1 | grep 'inet\\|link' | sed 's/^ \\+//g'|cut -d' ' -f-2", net_dev)))["stdout"]:"", "\n");
-
string tmp_mac="";
boolean addr=false;
foreach(string column, row, {
@@ -236,6 +235,7 @@
if (issubstring(tmp_col[0]:"", "inet") && !issubstring(tmp_col[0]:"", "inet6")) addr = true;
});
if (size(tmp_mac)>0) link_status[tmp_mac]=addr;
+ y2debug("link_status %1", link_status);
});
y2debug("%1", link_status);
@@ -1693,6 +1693,10 @@
y2milestone ("Selected HW with install.inf patches: %1", tosel);
SelectHWMap(tosel);
+ // set layer2 status from /etc/install.inf
+ qeth_layer2 = (InstallInf["QETH_LAYER2_SUPPORT"]:"0"=="1")?true:false;
+ qeth_macaddress = InstallInf["LLADDR"]:"";
+
}
/* Nothing detected -> use InstallInf */
else if(size(InstallInf) > 0) {
@@ -1708,6 +1712,7 @@
NetworkModules::Alias = InstallInf["module"]:"";
NetworkModules::Options = InstallInf["options"]:"";
+
type = InstallInf["type"]:"eth";
device = NetworkDevices::GetFreeDevice(type);
}
@@ -1799,7 +1804,7 @@
string hnent = Detection::ResolveIP(ipaddr);
//last resort - generate random hostname (#165269)
- if (hnent == "" )
+ if (hnent == "")
{
y2milestone("random hostname");
srandom ();
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-network-2.15.10/src/routines/complex.ycp new/yast2-network-2.15.11/src/routines/complex.ycp
--- old/yast2-network-2.15.10/src/routines/complex.ycp 2007-01-09 13:23:32.000000000 +0100
+++ new/yast2-network-2.15.11/src/routines/complex.ycp 2007-02-06 10:24:38.000000000 +0100
@@ -4,7 +4,7 @@
* Summary: Summary and overview functions
* Authors: Michal Svec
*
- * $Id: complex.ycp 35170 2007-01-09 12:22:40Z mzugec $
+ * $Id: complex.ycp 35875 2007-02-06 09:22:51Z mzugec $
*
*/
@@ -487,8 +487,8 @@
"ifplugd": _("Started automatically on cable connection"),
// summary description of STARTMODE=managed
"managed": _("Managed by NetworkManager"),
- // summary description of STARTMODE=off
- "off" : _("Will not be started at all")
+ // summary description of STARTMODE=off
+ "off" : _("Will not be started at all")
];
list<string> models = [];
foreach(maprow, (list