[yast-commit] r67612 - in /trunk/wagon: package/yast2-wagon.changes src/modules/Wagon.ycp
Author: lslezak Date: Thu Mar 8 18:37:50 2012 New Revision: 67612 URL: http://svn.opensuse.org/viewcvs/yast?rev=67612&view=rev Log: - ensure that the migration products are removed (bnc#750746) Modified: trunk/wagon/package/yast2-wagon.changes trunk/wagon/src/modules/Wagon.ycp Modified: trunk/wagon/package/yast2-wagon.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/wagon/package/yast2-wagon.changes?rev=67612&r1=67611&r2=67612&view=diff ============================================================================== --- trunk/wagon/package/yast2-wagon.changes (original) +++ trunk/wagon/package/yast2-wagon.changes Thu Mar 8 18:37:50 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: trunk/wagon/src/modules/Wagon.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/wagon/src/modules/Wagon.ycp?rev=67612&r1=67611&r2=67612&view=diff ============================================================================== --- trunk/wagon/src/modules/Wagon.ycp (original) +++ trunk/wagon/src/modules/Wagon.ycp Thu Mar 8 18:37:50 2012 @@ -468,6 +468,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