[yast-commit] r40528 - in /trunk/update: VERSION package/yast2-update.changes src/clients/update_proposal.ycp
Author: locilka Date: Tue Aug 28 12:37:27 2007 New Revision: 40528 URL: http://svn.opensuse.org/viewcvs/yast?rev=40528&view=rev Log: - Update proposal doesn't use recommended Kernel if the package is not available (#304646). - 2.15.23 Modified: trunk/update/VERSION trunk/update/package/yast2-update.changes trunk/update/src/clients/update_proposal.ycp Modified: trunk/update/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/update/VERSION?rev=40528&r1=40527&r2=40528&view=diff ============================================================================== --- trunk/update/VERSION (original) +++ trunk/update/VERSION Tue Aug 28 12:37:27 2007 @@ -1 +1 @@ -2.15.22 +2.15.23 Modified: trunk/update/package/yast2-update.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/update/package/yast2-update.changes?rev=40528&r1=40527&r2=40528&view=diff ============================================================================== --- trunk/update/package/yast2-update.changes (original) +++ trunk/update/package/yast2-update.changes Tue Aug 28 12:37:27 2007 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Aug 28 12:35:29 CEST 2007 - locilka@suse.cz + +- Update proposal doesn't use recommended Kernel if the package is + not available (#304646). +- 2.15.23 + +------------------------------------------------------------------- Mon Aug 27 14:18:25 CEST 2007 - locilka@suse.cz - Calling Storage::DeviceMatchFstab with not-translated device name Modified: trunk/update/src/clients/update_proposal.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/update/src/clients/update_proposal.ycp?rev=40528&r1=40527&r2=40528&view=diff ============================================================================== --- trunk/update/src/clients/update_proposal.ycp (original) +++ trunk/update/src/clients/update_proposal.ycp Tue Aug 28 12:37:27 2007 @@ -158,6 +158,11 @@ y2milestone ("Selected kernel: %1, recommended kernel: %2", selected_kernel, recom_kernel); + // when the recommended Kernel is not available (installable) + if (recom_kernel[0]:nil != nil && ! Pkg::IsAvailable (recom_kernel[0]:nil)) { + recom_kernel[0] = selected_kernel; + } + // recommended package is different to the selected one // select the recommended one if (recom_kernel[0]:nil != nil && recom_kernel[0]:nil != selected_kernel) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org