Author: juhliarik Date: Mon Oct 6 12:20:35 2008 New Revision: 51851 URL: http://svn.opensuse.org/viewcvs/yast?rev=51851&view=rev Log: added fix for installing packages during instalation bnc #431580 Modified: trunk/kdump/VERSION trunk/kdump/package/yast2-kdump.changes trunk/kdump/src/Kdump.ycp trunk/kdump/yast2-kdump.spec.in Modified: trunk/kdump/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/kdump/VERSION?rev=51851&r1=51850&r2=51851&view=diff ============================================================================== --- trunk/kdump/VERSION (original) +++ trunk/kdump/VERSION Mon Oct 6 12:20:35 2008 @@ -1 +1 @@ -2.17.4 +2.17.5 Modified: trunk/kdump/package/yast2-kdump.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/kdump/package/yast2-kdump.changes?rev=51851&r1=51850&r2=51851&view=diff ============================================================================== --- trunk/kdump/package/yast2-kdump.changes (original) +++ trunk/kdump/package/yast2-kdump.changes Mon Oct 6 12:20:35 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Oct 3 17:31:33 CEST 2008 - juhliarik@suse.cz + +- added fix for installing packages (bnc #431580) +- V 2.17.5 + +------------------------------------------------------------------- Mon Sep 22 16:40:13 CEST 2008 - juhliarik@suse.cz - added new tree item Email Notification Modified: trunk/kdump/src/Kdump.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/kdump/src/Kdump.ycp?rev=51851&r1=51850&r2=51851&view=diff ============================================================================== --- trunk/kdump/src/Kdump.ycp (original) +++ trunk/kdump/src/Kdump.ycp Mon Oct 6 12:20:35 2008 @@ -51,6 +51,7 @@ import "Map"; import "ProductControl"; import "ProductFeatures"; +import "PackagesProposal"; /** * Prototypes @@ -940,34 +941,25 @@ boolean pkg_deselect = false; foreach (string p, kdump_packages, { - if (Pkg::IsSelected (p)) - { - Pkg::PkgNeutral (p); + PackagesProposal::RemoveResolvables ("yast2-kdump", `package, [p]); pkg_deselect = true; - } }); if (pkg_deselect) { - // if package was added in inst. proposal, I can't be sure - // that dependencies will be solved - Pkg::PkgSolve (false); + y2milestone("Deselected kdump packages for installation: %1", kdump_packages); } } else { y2milestone("select packages for installation: %1", kdump_packages); boolean pkg_added = false; foreach (string p, kdump_packages, { - if (!Pkg::IsSelected (p)) - { - Pkg::PkgInstall (p); + PackagesProposal::AddResolvables ("yast2-kdump", `package, [p]); pkg_added = true; - } + }); if (pkg_added) { - // if package was added in inst. proposal, I can't be sure - // that dependencies will be solved - Pkg::PkgSolve (false); + y2milestone("Selected kdump packages for installation: %1", kdump_packages); } } } Modified: trunk/kdump/yast2-kdump.spec.in URL: http://svn.opensuse.org/viewcvs/yast/trunk/kdump/yast2-kdump.spec.in?rev=51851&r1=51850&r2=51851&view=diff ============================================================================== --- trunk/kdump/yast2-kdump.spec.in (original) +++ trunk/kdump/yast2-kdump.spec.in Mon Oct 6 12:20:35 2008 @@ -6,6 +6,8 @@ Recommends: makedumpfile +BuildRequires: yast2 >= 2.17.36 +BuildRequires: yast2-packager >= 2.17.24 Summary: Configuration of kdump -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org