Author: locilka Date: Wed Feb 11 19:13:09 2009 New Revision: 55440 URL: http://svn.opensuse.org/viewcvs/yast?rev=55440&view=rev Log: - Selecting all products available on add-on media for installation (bnc #474745). - 2.17.18 Modified: branches/SuSE-Code-11-Branch/add-on/VERSION branches/SuSE-Code-11-Branch/add-on/package/yast2-add-on.changes branches/SuSE-Code-11-Branch/add-on/src/add-on-workflow.ycp Modified: branches/SuSE-Code-11-Branch/add-on/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/add-on/VERSION?rev=55440&r1=55439&r2=55440&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/add-on/VERSION (original) +++ branches/SuSE-Code-11-Branch/add-on/VERSION Wed Feb 11 19:13:09 2009 @@ -1 +1 @@ -2.17.17 +2.17.18 Modified: branches/SuSE-Code-11-Branch/add-on/package/yast2-add-on.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/add-on/package/yast2-add-on.changes?rev=55440&r1=55439&r2=55440&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/add-on/package/yast2-add-on.changes (original) +++ branches/SuSE-Code-11-Branch/add-on/package/yast2-add-on.changes Wed Feb 11 19:13:09 2009 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Feb 11 19:10:33 CET 2009 - locilka@suse.cz + +- Selecting all products available on add-on media for installation + (bnc #474745). +- 2.17.18 + +------------------------------------------------------------------- Mon Feb 2 14:34:27 CET 2009 - locilka@suse.cz - Forcing recreating and redrawing the table of add-on products. Modified: branches/SuSE-Code-11-Branch/add-on/src/add-on-workflow.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/add-on/src/add-on-workflow.ycp?rev=55440&r1=55439&r2=55440&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/add-on/src/add-on-workflow.ycp (original) +++ branches/SuSE-Code-11-Branch/add-on/src/add-on-workflow.ycp Wed Feb 11 19:13:09 2009 @@ -431,6 +431,59 @@ return ret; } +// BNC #474745 +// Installs all the products from just added add-on media +symbol InstallProduct () { + y2milestone ("AddOnID: %1", AddOnProduct::src_id); + + if (AddOnProduct::src_id == nil || AddOnProduct::src_id < 0) { + y2error ("No source has been added"); + return `next; + } + + list