[yast-commit] r55651 - in /branches/SuSE-Code-11-Branch/registration: VERSION package/yast2-registration.changes src/modules/Register.ycp
![](https://seccdn.libravatar.org/avatar/dbc5930319c56fc3c749e36d2fb7fd88.jpg?s=120&d=mm&r=g)
Author: jdsn Date: Fri Feb 20 17:42:31 2009 New Revision: 55651 URL: http://svn.opensuse.org/viewcvs/yast?rev=55651&view=rev Log: reload SourceManager after registration (bnc#468449) 2.17.22 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/modules/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=55651&r1=55650&r2=55651&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/registration/VERSION (original) +++ branches/SuSE-Code-11-Branch/registration/VERSION Fri Feb 20 17:42:31 2009 @@ -1 +1 @@ -2.17.21 +2.17.22 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=55651&r1=55650&r2=55651&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/registration/package/yast2-registration.changes (original) +++ branches/SuSE-Code-11-Branch/registration/package/yast2-registration.changes Fri Feb 20 17:42:31 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Feb 20 17:41:07 CET 2009 - jdsn@suse.de + +- reload SourceManager after registration (bnc#468449) +- 2.17.22 + +------------------------------------------------------------------- Tue Feb 17 22:05:16 CET 2009 - jdsn@suse.de - without network connection skip registration (bnc#475795) Modified: branches/SuSE-Code-11-Branch/registration/src/modules/Register.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/registration/src/modules/Register.ycp?rev=55651&r1=55650&r2=55651&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/registration/src/modules/Register.ycp (original) +++ branches/SuSE-Code-11-Branch/registration/src/modules/Register.ycp Fri Feb 20 17:42:31 2009 @@ -1342,7 +1342,18 @@ // finish sources (bnc#447080) if ( Pkg::SourceFinishAll() ) { - y2milestone("Successfully finished all sources."); + y2milestone("Successfully finished all sources to enforce a reload."); + + // restart the SourceManager to refill the cache with the current data (bnc#468449) + // an application that called the registration (or that follows it) should be presented an updated pkg system + if ( Pkg::SourceStartManager(true) ) + { + y2milestone("Successfully restarted source manager."); + } + else + { + y2error("Failed to restart source manager"); + } } else { -- 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