Author: lslezak Date: Wed Jan 6 20:03:07 2010 New Revision: 60243 URL: http://svn.opensuse.org/viewcvs/yast?rev=60243&view=rev Log: - do not reselect patterns which have been deselected by user (bnc#450786, bnc#471340) - 2.17.65 Modified: branches/SuSE-Code-11-SP1-Branch/packager/VERSION branches/SuSE-Code-11-SP1-Branch/packager/package/yast2-packager.changes branches/SuSE-Code-11-SP1-Branch/packager/src/modules/Packages.ycp Modified: branches/SuSE-Code-11-SP1-Branch/packager/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/packager/VERSION?rev=60243&r1=60242&r2=60243&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/packager/VERSION (original) +++ branches/SuSE-Code-11-SP1-Branch/packager/VERSION Wed Jan 6 20:03:07 2010 @@ -1 +1 @@ -2.17.64 +2.17.65 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=60243&r1=60242&r2=60243&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 Wed Jan 6 20:03:07 2010 @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jan 6 17:48:18 UTC 2010 - lslezak@suse.cz + +- do not reselect patterns which have been deselected by user + (bnc#450786, bnc#471340) +- 2.17.65 + ------------------------------------------------------------------ Mon Jan 4 16:18:08 CET 2010 - locilka@suse.cz Modified: branches/SuSE-Code-11-SP1-Branch/packager/src/modules/Packages.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/packager/src/modules/Packages.ycp?rev=60243&r1=60242&r2=60243&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/packager/src/modules/Packages.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/packager/src/modules/Packages.ycp Wed Jan 6 20:03:07 2010 @@ -1649,7 +1649,15 @@ { y2milestone ("Selecting system patterns %1", system_patterns); foreach (string p, system_patterns, { - Pkg::ResolvableInstall (p, `pattern); + map prop = Pkg::ResolvableProperties(p, `pattern, "")[0]:$[]; + if (prop["status"]:nil == `available && prop["transact_by"]:nil == `user) + { + y2milestone("Ignoring deselected pattern '%1'", p); + } + else + { + Pkg::ResolvableInstall (p, `pattern); + } }); } else -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org