[yast-commit] r59737 - in /trunk/packager: package/yast2-packager.changes src/clients/pkg_finish.ycp
Author: locilka Date: Tue Nov 24 15:34:51 2009 New Revision: 59737 URL: http://svn.opensuse.org/viewcvs/yast?rev=59737&view=rev Log: - Creating backup of old repositories at the end of initial installation/upgrade before any other SourceSaveAll call (bnc #556469). Modified: trunk/packager/package/yast2-packager.changes trunk/packager/src/clients/pkg_finish.ycp Modified: trunk/packager/package/yast2-packager.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=59737&r1=59736&r2=59737&view=diff ============================================================================== --- trunk/packager/package/yast2-packager.changes (original) +++ trunk/packager/package/yast2-packager.changes Tue Nov 24 15:34:51 2009 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Nov 24 15:32:33 CET 2009 - locilka@suse.cz + +- Creating backup of old repositories at the end of initial + installation/upgrade before any other SourceSaveAll call + (bnc #556469). + +------------------------------------------------------------------- Mon Nov 23 15:15:44 CET 2009 - kmachalkova@suse.cz - Webpin: Remaining string marked for translation (bnc#549945) Modified: trunk/packager/src/clients/pkg_finish.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/pkg_finish.ycp?rev=59737&r1=59736&r2=59737&view=diff ============================================================================== --- trunk/packager/src/clients/pkg_finish.ycp (original) +++ trunk/packager/src/clients/pkg_finish.ycp Tue Nov 24 15:34:51 2009 @@ -127,6 +127,12 @@ } */ + // Remove (backup) all sources not used during the update + // BNC #556469: Backup and remove all the old repositories before any Pkg::SourceSaveAll call + if (Stage::initial() && Mode::update()) { + BackUpAllTargetSources(); + } + // See bnc #384827, #381360 if (Mode::update()) { y2milestone ("Adding default repositories"); @@ -135,11 +141,6 @@ Pkg::SourceCacheCopyTo (Installation::destdir); - // Remove (backup) all sources not used during the update - if (Stage::initial() && Mode::update()) { - BackUpAllTargetSources(); - } - // save all repositories and finish target Pkg::SourceSaveAll (); Pkg::TargetFinish(); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org