Hello community,
here is the log from the commit of package yast2-network
checked in at Mon Jun 2 10:32:36 CEST 2008.
--------
--- yast2-network/yast2-network.changes 2008-05-26 14:04:35.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-network/yast2-network.changes 2008-06-02 09:39:15.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Jun 2 09:21:09 CEST 2008 - mzugec@suse.cz
+
+- set link status up for all interfaces during installation
+ (bnc#395014)
+- 2.16.47
+
+-------------------------------------------------------------------
Old:
----
yast2-network-2.16.46.tar.bz2
New:
----
yast2-network-2.16.47.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-network.spec ++++++
--- /var/tmp/diff_new_pack.G30267/_old 2008-06-02 10:32:25.000000000 +0200
+++ /var/tmp/diff_new_pack.G30267/_new 2008-06-02 10:32:25.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-network (Version 2.16.46)
+# spec file for package yast2-network (Version 2.16.47)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,12 +12,12 @@
Name: yast2-network
-Version: 2.16.46
+Version: 2.16.47
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-network-2.16.46.tar.bz2
+Source0: yast2-network-2.16.47.tar.bz2
Prefix: /usr
# should be required by devtools
BuildRequires: perl-XML-Writer pkgconfig rpm
@@ -71,7 +71,7 @@
Michal Svec
%prep
-%setup -n yast2-network-2.16.46
+%setup -n yast2-network-2.16.47
%build
%{prefix}/bin/y2tool y2autoconf
@@ -134,7 +134,12 @@
%doc %{prefix}/share/doc/packages/yast2-network
%exclude %{prefix}/share/doc/packages/yast2-network/COPYING
%exclude %{prefix}/share/doc/packages/yast2-network/README
+
%changelog
+* Mon Jun 02 2008 mzugec@suse.cz
+- set link status up for all interfaces during installation
+ (bnc#395014)
+- 2.16.47
* Mon May 26 2008 kmachalkova@suse.cz
- Use Product::ReadProduct() to obtain release notes URL, thus make
the internet test (2nd stage) work again (bnc#390738)
++++++ yast2-network-2.16.46.tar.bz2 -> yast2-network-2.16.47.tar.bz2 ++++++
++++ 6418 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-network-2.16.46/configure.in new/yast2-network-2.16.47/configure.in
--- old/yast2-network-2.16.46/configure.in 2008-05-21 16:18:58.000000000 +0200
+++ new/yast2-network-2.16.47/configure.in 2008-06-02 09:15:47.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.16.7 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-network, 2.16.45, http://bugs.opensuse.org/, yast2-network)
+AC_INIT(yast2-network, 2.16.46, http://bugs.opensuse.org/, yast2-network)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.16.45"
+VERSION="2.16.46"
RPMNAME="yast2-network"
MAINTAINER="Michal Zugec "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-network-2.16.46/src/modules/NetHwDetection.ycp new/yast2-network-2.16.47/src/modules/NetHwDetection.ycp
--- old/yast2-network-2.16.46/src/modules/NetHwDetection.ycp 2008-05-21 16:18:51.000000000 +0200
+++ new/yast2-network-2.16.47/src/modules/NetHwDetection.ycp 2008-06-02 09:37:26.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Network detection
* Authors: Michal Svec
*
- * $Id: NetHwDetection.ycp 40339 2007-08-17 13:47:03Z mzugec $
+ * $Id: NetHwDetection.ycp 47975 2008-06-02 07:37:25Z mzugec $
*
* <p>Detects network settings, using dhcp or sniffing network traffic</p>
*
@@ -118,6 +118,7 @@
/* Setup the interface */
+/*
detection_interface=false;
if(SCR::Execute(.target.bash, sformat("/sbin/ifconfig %1 2>&1 | grep 'inet6\\? addr'", device), $["LC_ALL":"C"]) != 0) {
y2milestone("Setting up interface %1 ...", device);
@@ -125,6 +126,18 @@
detection_interface=true;
}
y2debug("detection_interface=%1", detection_interface);
+*/
+ string command = "ls /sys/class/net|grep -v \"^lo$\"";
+ map output = (map)SCR::Execute(.target.bash_output, command);
+ if (output["exit"]:-1==0){
+ list<string> interfaces = filter(string s, splitstring(output["stdout"]:"", "\n"), {return (size(s)>0);});
+ y2internal("output %1", interfaces);
+ foreach(string ifc, interfaces, {
+ y2milestone("Setting up interface %1", ifc);
+ SCR::Execute(.target.bash, sformat("ip link set %1 up", ifc));
+ if (ifc == device) detection_interface=true;
+ });
+ } else y2error("Error while execute %1 : %2", command, output);
y2milestone("Network detection prepare (end)");
return true;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-network-2.16.46/VERSION new/yast2-network-2.16.47/VERSION
--- old/yast2-network-2.16.46/VERSION 2008-05-26 14:13:24.000000000 +0200
+++ new/yast2-network-2.16.47/VERSION 2008-06-02 09:20:51.000000000 +0200
@@ -1 +1 @@
-2.16.46
+2.16.47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org