Mailinglist Archive: yast-commit (953 mails)

< Previous Next >
[yast-commit] r49696 - in /trunk/packager: package/yast2-packager.changes src/clients/inst_productsources.ycp
  • From: locilka@xxxxxxxxxxxxxxxx
  • Date: Tue, 05 Aug 2008 10:57:49 -0000
  • Message-id: <20080805105750.2FF9E39C6B@xxxxxxxxxxxxxxxx>
Author: locilka
Date: Tue Aug 5 12:57:49 2008
New Revision: 49696

URL: http://svn.opensuse.org/viewcvs/yast?rev=49696&view=rev
Log:
- Reporting 'no network is running' when calling Community
Repositories without network in mode 'normal' (bnc #327519).


Modified:
trunk/packager/package/yast2-packager.changes
trunk/packager/src/clients/inst_productsources.ycp

Modified: trunk/packager/package/yast2-packager.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=49696&r1=49695&r2=49696&view=diff
==============================================================================
--- trunk/packager/package/yast2-packager.changes (original)
+++ trunk/packager/package/yast2-packager.changes Tue Aug 5 12:57:49 2008
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Aug 5 12:55:59 CEST 2008 - locilka@xxxxxxx
+
+- Reporting 'no network is running' when calling Community
+ Repositories without network in mode 'normal' (bnc #327519).
+
+-------------------------------------------------------------------
Mon Aug 4 11:51:28 CEST 2008 - locilka@xxxxxxx

- Community Repositories: listing recommended repositories first

Modified: trunk/packager/src/clients/inst_productsources.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/inst_productsources.ycp?rev=49696&r1=49695&r2=49696&view=diff
==============================================================================
--- trunk/packager/src/clients/inst_productsources.ycp (original)
+++ trunk/packager/src/clients/inst_productsources.ycp Tue Aug 5 12:57:49 2008
@@ -244,6 +244,14 @@
boolean NetworkRunning () {
boolean ret = false;

+ // bnc #327519
+ if (Mode::normal ()) {
+ if (! NetworkService::isNetworkRunning()) {
+ y2warning ("No network is running...");
+ return false;
+ }
+ }
+
while (true) {
if (NetworkService::isNetworkRunning()) {
ret = true;

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages