Author: lslezak Date: Mon Apr 14 14:18:38 2008 New Revision: 46573 URL: http://svn.opensuse.org/viewcvs/yast?rev=46573&view=rev Log: - Products.ycp - the target and the sources must be initialized and the solver must be run to obtain the list of installed products (#368104) Modified: trunk/yast2/library/packages/src/Product.ycp trunk/yast2/package/yast2.changes Modified: trunk/yast2/library/packages/src/Product.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/packages/src/Product.ycp?rev=46573&r1=46572&r2=46573&view=diff ============================================================================== --- trunk/yast2/library/packages/src/Product.ycp (original) +++ trunk/yast2/library/packages/src/Product.ycp Mon Apr 14 14:18:38 2008 @@ -79,6 +79,13 @@ return []; } + // the target at the sources must be initialized + PackageSystem::EnsureTargetInit(); + PackageSystem::EnsureSourceInit(); + + // installed products are computed by the solver + Pkg::PkgSolve(true); + y2milestone ("Looking for base products"); list