[yast-commit] r67608 - in /branches/SuSE-Code-11-SP2-Branch/wagon: package/yast2-wagon.changes src/modules/Wagon.ycp
Author: lslezak Date: Thu Mar 8 17:09:03 2012 New Revision: 67608 URL: http://svn.opensuse.org/viewcvs/yast?rev=67608&view=rev Log: - ensure that the migration products are removed (bnc#750746) Modified: branches/SuSE-Code-11-SP2-Branch/wagon/package/yast2-wagon.changes branches/SuSE-Code-11-SP2-Branch/wagon/src/modules/Wagon.ycp Modified: branches/SuSE-Code-11-SP2-Branch/wagon/package/yast2-wagon.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/wagon/package/yast2-wagon.changes?rev=67608&r1=67607&r2=67608&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/wagon/package/yast2-wagon.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/wagon/package/yast2-wagon.changes Thu Mar 8 17:09:03 2012 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Wed Mar 7 08:14:29 UTC 2012 - lslezak@suse.cz + +- ensure that the migration products are removed (bnc#750746) + +------------------------------------------------------------------- Wed Feb 15 10:33:50 UTC 2012 - lslezak@suse.cz - Automatically save solver test case in the migration proposal Modified: branches/SuSE-Code-11-SP2-Branch/wagon/src/modules/Wagon.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/wagon/src/modules/Wagon.ycp?rev=67608&r1=67607&r2=67608&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/wagon/src/modules/Wagon.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/wagon/src/modules/Wagon.ycp Thu Mar 8 17:09:03 2012 @@ -467,6 +467,14 @@ // be compatible with "zypper dup --from" Pkg::SetSolverFlags($["ignoreAlreadyRecommended" : true]); + // ensure the migration products are removed + foreach(string migration_product, migration_products, + { + y2milestone("Removing migration product: %1", migration_product); + Pkg::ResolvableRemove(migration_product, `product); + } + ); + if (MigrationType() == `full) { // run the solver to evaluate applicable patches -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn2.opensuse.org