On Sun, Jan 19, 2014 at 04:40:38PM +0000, [email protected] wrote:
> Module: openembedded-core.git
> Branch: master
> Commit: 2f18289493f9c2c67ba343fb8e16743bf5dfee24
> URL:    
> http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2f18289493f9c2c67ba343fb8e16743bf5dfee24
> 
> Author: Paul Barker <[email protected]>
> Date:   Thu Jan 16 17:59:25 2014 +0000
> 
> default-providers: Change update-alternatives provider to opkg-utils
> 
> This allows dependencies to be added to the opkg recipe without causing 
> circular
> dependency loops. As opkg-utils has minimal dependencies it is the best recipe
> to provide update-alternatives.
> 
> This partially solves Yocto Project issue 4836. More work is still needed for 
> a
> complete solution.
> 
> Signed-off-by: Paul Barker <[email protected]>
> Signed-off-by: Richard Purdie <[email protected]>
> 
> ---
> 
>  meta/conf/distro/include/default-providers.inc | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/conf/distro/include/default-providers.inc 
> b/meta/conf/distro/include/default-providers.inc
> index e2b0892..419ffcd 100644
> --- a/meta/conf/distro/include/default-providers.inc
> +++ b/meta/conf/distro/include/default-providers.inc
> @@ -10,15 +10,15 @@ PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
>  PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
>  PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
>  PREFERRED_PROVIDER_virtual/mesa ?= "mesa"
> -PREFERRED_PROVIDER_virtual/update-alternatives ?= "opkg"
> -PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-native"
> +PREFERRED_PROVIDER_virtual/update-alternatives ?= "opkg-utils"
> +PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-utils-native"
>  PREFERRED_PROVIDER_virtual/libx11 ?= "libx11"
>  PREFERRED_PROVIDER_xf86-video-intel ?= "xf86-video-intel"
>  
>  #
>  # Default virtual runtime providers
>  #
> -VIRTUAL-RUNTIME_update-alternatives ?= "update-alternatives-cworth"
> +VIRTUAL-RUNTIME_update-alternatives ?= "update-alternatives-opkg"

Can we add RREPLACES/RCONFLICTS/RPROVIDES combo to opkg-utils recipe to
fix upgrade-path on target?

 * check_data_file_clashes: Package update-alternatives-opkg wants to
 * install file /usr/bin/update-alternatives
        But that file is already provided by package  * 
update-alternatives-cworth

I'll send patch.

>  VIRTUAL-RUNTIME_apm ?= "apm"
>  VIRTUAL-RUNTIME_alsa-state ?= "alsa-state"
>  
> 
> _______________________________________________
> Openembedded-commits mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-commits

-- 
Martin 'JaMa' Jansa     jabber: [email protected]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to