Author: jdsn Date: Mon Jan 26 16:38:41 2009 New Revision: 55032 URL: http://svn.opensuse.org/viewcvs/yast?rev=55032&view=rev Log: keep target initialized on exit (bnc#468449) 2.17.19 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=55032&r1=55031&r2=55032&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/registration/VERSION (original) +++ branches/SuSE-Code-11-Branch/registration/VERSION Mon Jan 26 16:38:41 2009 @@ -1 +1 @@ -2.17.18 +2.17.19 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=55032&r1=55031&r2=55032&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/registration/package/yast2-registration.changes (original) +++ branches/SuSE-Code-11-Branch/registration/package/yast2-registration.changes Mon Jan 26 16:38:41 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Jan 26 15:53:58 CET 2009 - jdsn@suse.de + +- keep target initialized on exit (bnc#468449) +- 2.17.19 + +------------------------------------------------------------------- Thu Jan 23 18:15:16 CET 2009 - jdsn@suse.de - setup proxy before suseRegister initializes (bnc#468480) 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=55032&r1=55031&r2=55032&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/registration/src/modules/Register.ycp (original) +++ branches/SuSE-Code-11-Branch/registration/src/modules/Register.ycp Mon Jan 26 16:38:41 2009 @@ -909,16 +909,21 @@ isInitializedSR = false; if ( isInitializedTarget ) { - y2milestone("Package target was initialized. Now finishing target usage."); - if ( Pkg::TargetFinish() ) - { - y2milestone("Successfully finished the target usage of the package system."); - isInitializedTarget = false; - } - else - { - y2error("Could not finish the target usage of the package system."); - } + // do no longer call TargetFinish (bnc#468449) + // Note: repeated calls to TargetInitialize with the same rootdir are ok, see libzypp/zypp/zypp_detail/ZYppImpl.cc:95 + y2debug("The Target currently is initialized - but due to bug bnc#468449 Pkg::TargetFinish will not be called."); + + // Keeping the former code block commented out as a reference +// y2milestone("Package target was initialized. Now finishing target usage."); +// if ( Pkg::TargetFinish() ) +// { +// y2milestone("Successfully finished the target usage of the package system."); +// isInitializedTarget = false; +// } +// else +// { +// y2error("Could not finish the target usage of the package system."); +// } } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org