[oe] [oe-commits] Paul Barker : default-providers: Change update-alternatives provider to opkg-utils

Martin Jansa martin.jansa at gmail.com
Tue Jan 21 22:41:55 UTC 2014


On Sun, Jan 19, 2014 at 04:40:38PM +0000, git at git.openembedded.org 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 <paul at paulbarker.me.uk>
> 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 <paul at paulbarker.me.uk>
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> 
> ---
> 
>  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
> Openembedded-commits at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-commits

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140121/a94a8191/attachment-0002.sig>


More information about the Openembedded-devel mailing list