[yast-commit] r55575 - in /branches/SuSE-Code-11-Branch/registration: VERSION package/yast2-registration.changes src/clients/inst_suse_register.ycp
![](https://seccdn.libravatar.org/avatar/dbc5930319c56fc3c749e36d2fb7fd88.jpg?s=120&d=mm&r=g)
Author: jdsn Date: Tue Feb 17 22:32:04 2009 New Revision: 55575 URL: http://svn.opensuse.org/viewcvs/yast?rev=55575&view=rev Log: without network connection skip registration (bnc#475795) 2.17.21 Modified: branches/SuSE-Code-11-Branch/registration/VERSION branches/SuSE-Code-11-Branch/registration/package/yast2-registration.changes branches/SuSE-Code-11-Branch/registration/src/clients/inst_suse_register.ycp Modified: branches/SuSE-Code-11-Branch/registration/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/registration/VERSION?rev=55575&r1=55574&r2=55575&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/registration/VERSION (original) +++ branches/SuSE-Code-11-Branch/registration/VERSION Tue Feb 17 22:32:04 2009 @@ -1 +1 @@ -2.17.20 +2.17.21 Modified: branches/SuSE-Code-11-Branch/registration/package/yast2-registration.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/registration/package/yast2-registration.changes?rev=55575&r1=55574&r2=55575&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/registration/package/yast2-registration.changes (original) +++ branches/SuSE-Code-11-Branch/registration/package/yast2-registration.changes Tue Feb 17 22:32:04 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Feb 17 22:05:16 CET 2009 - jdsn@suse.de + +- without network connection skip registration (bnc#475795) +- 2.17.21 + +------------------------------------------------------------------- Tue Feb 17 17:15:52 CET 2009 - ug@suse.de - fixed autoyast registration (bnc#476494) Modified: branches/SuSE-Code-11-Branch/registration/src/clients/inst_suse_register.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/registration/src/clients/inst_suse_register.ycp?rev=55575&r1=55574&r2=55575&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/registration/src/clients/inst_suse_register.ycp (original) +++ branches/SuSE-Code-11-Branch/registration/src/clients/inst_suse_register.ycp Tue Feb 17 22:32:04 2009 @@ -25,6 +25,7 @@ import "CustomDialogs"; import "Directory"; import "Mode"; + import "Stage"; import "String"; import "Label"; import "Internet"; @@ -34,6 +35,7 @@ import "Package"; import "PackageCallbacks"; import "CommandLine"; + import "NetworkService"; include "registration/texts.ycp"; @@ -62,9 +64,10 @@ } // no network - no suse_register - if (!Mode::normal() && !Internet::suse_register) + // test for existing network connection (bnc#475795) + if ( Stage::cont() && ( !Internet::suse_register || !NetworkService::isNetworkRunning() ) ) { - y2error("The internet test failed or was skipped. So registration will not run."); + y2error("The internet test failed or no network connection is available. Registration will be skipped."); Internet::do_you = false; return `auto; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jdsn@svn.opensuse.org