Author: ug Date: Wed Jun 25 16:45:34 2008 New Revision: 48534 URL: http://svn.opensuse.org/viewcvs/yast?rev=48534&view=rev Log: proposal selection possible via autoyast profile (fate#302946) Modified: trunk/installation/package/yast2-installation.changes trunk/installation/src/clients/inst_proposal.ycp Modified: trunk/installation/package/yast2-installation.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/package/yast2-installation.changes?rev=48534&r1=48533&r2=48534&view=diff ============================================================================== --- trunk/installation/package/yast2-installation.changes (original) +++ trunk/installation/package/yast2-installation.changes Wed Jun 25 16:45:34 2008 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Wed Jun 25 16:44:33 CEST 2008 - ug@suse.de + +- proposal selection possible via autoyast profile (fate#302946) + +------------------------------------------------------------------- Tue Jun 17 14:23:04 CEST 2008 - lslezak@suse.cz - use Pkg::SourceSaveAll() instead of Pkg::SourceFinishAll() Modified: trunk/installation/src/clients/inst_proposal.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/inst_proposal.ycp?rev=48534&r1=48533&r2=48534&view=diff ============================================================================== --- trunk/installation/src/clients/inst_proposal.ycp (original) +++ trunk/installation/src/clients/inst_proposal.ycp Wed Jun 25 16:45:34 2008 @@ -635,6 +635,10 @@ return ! contains (submodules, m); }); submodules = (list<string>)merge (submodules, display_only_modules); + list <string> p = AutoinstConfig::getProposalList(); + submodules_presentation = filter (string v, submodules_presentation, { + return ( contains( p, v ) || p == [] ); + }); } else { @@ -646,6 +650,10 @@ // setup the list submodules_presentation = maplist (list mod, modules, ``(mod[0]:"") ); + list <string> p = AutoinstConfig::getProposalList(); + submodules_presentation = filter (string v, submodules_presentation, { + return ( contains( p, v ) || p == [] ); + }); } y2milestone ("Presentation order: %1", submodules_presentation); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org