[yast-commit] r45062 - in /trunk/packager: package/yast2-packager.changes src/modules/Packages.ycp
Author: lslezak Date: Wed Feb 27 10:54:48 2008 New Revision: 45062 URL: http://svn.opensuse.org/viewcvs/yast?rev=45062&view=rev Log: - do not select a Xen kernel, it is part of the Xen pattern now (#362030) Modified: trunk/packager/package/yast2-packager.changes trunk/packager/src/modules/Packages.ycp Modified: trunk/packager/package/yast2-packager.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=45062&r1=45061&r2=45062&view=diff ============================================================================== --- trunk/packager/package/yast2-packager.changes (original) +++ trunk/packager/package/yast2-packager.changes Wed Feb 27 10:54:48 2008 @@ -4,6 +4,8 @@ - repositories - added 'community repos' text into the description (#346718) - SourceManager.ycp - removed obsoleted .process agent call +- do not select a Xen kernel, it is part of the Xen pattern now + (#362030) ------------------------------------------------------------------- Mon Feb 25 14:28:10 CET 2008 - sh@suse.de Modified: trunk/packager/src/modules/Packages.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/modules/Packages.ycp?rev=45062&r1=45061&r2=45062&view=diff ============================================================================== --- trunk/packager/src/modules/Packages.ycp (original) +++ trunk/packager/src/modules/Packages.ycp Wed Feb 27 10:54:48 2008 @@ -1381,44 +1381,6 @@ } /** - * Select appropriate XEN kernel if the XEN pattern is selected - */ -void SelectXenKernel () { - // check Xen pattern status - list<map> xen_patterns = Pkg::ResolvableProperties("xen_server", `pattern, ""); - - // is the Xen pattern selected? - boolean xen_selected = false; - - foreach(map pattern, xen_patterns, - { - y2milestone ("Pattern '%1' status '%2'", pattern["name"]:nil, pattern["status"]:`unknown); - if (pattern["status"]:`unknown == `selected) - { - xen_selected = true; - } - }); - - y2milestone ("XEN Selected: %1", xen_selected); - if (xen_selected) - { - if (contains (Kernel::GetPackages (), "kernel-bigsmp")) - { - y2milestone("Selected Xen kernel: kernel-xenpae"); - // install PAE Xen - Pkg::PkgNeutral("kernel-xen"); - Pkg::PkgInstall("kernel-xenpae"); - } - else - { - // install standard Xen - Pkg::PkgNeutral("kernel-xenpae"); - Pkg::PkgInstall("kernel-xen"); - } - } -} - -/** * Make a proposal for package selection * @param force reset * @param re-initialize @@ -1521,8 +1483,6 @@ (symbol)ProductFeatures::GetFeature ("software", "selection_type")); } - SelectXenKernel (); - if (! Pkg::PkgSolve (false)) { solve_errors = Pkg::PkgSolveErrors (); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn.opensuse.org