[yast-commit] r59736 - in /branches/SuSE-Code-11-SP1-Branch/packager: package/yast2-packager.changes src/clients/pkg_finish.ycp
Author: locilka Date: Tue Nov 24 15:34:44 2009 New Revision: 59736 URL: http://svn.opensuse.org/viewcvs/yast?rev=59736&view=rev Log: - Creating backup of old repositories at the end of initial installation/upgrade before any other SourceSaveAll call (bnc #556469). Modified: branches/SuSE-Code-11-SP1-Branch/packager/package/yast2-packager.changes branches/SuSE-Code-11-SP1-Branch/packager/src/clients/pkg_finish.ycp Modified: branches/SuSE-Code-11-SP1-Branch/packager/package/yast2-packager.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/packager/package/yast2-packager.changes?rev=59736&r1=59735&r2=59736&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/packager/package/yast2-packager.changes (original) +++ branches/SuSE-Code-11-SP1-Branch/packager/package/yast2-packager.changes Tue Nov 24 15:34:44 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). + +------------------------------------------------------------------- Thu Nov 19 16:51:55 CET 2009 - locilka@suse.cz - REGISTERPRODUCT from content file moved to control file to Modified: branches/SuSE-Code-11-SP1-Branch/packager/src/clients/pkg_finish.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/packager/src/clients/pkg_finish.ycp?rev=59736&r1=59735&r2=59736&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/packager/src/clients/pkg_finish.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/packager/src/clients/pkg_finish.ycp Tue Nov 24 15:34:44 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