Skip to contentSkip to conversation

Paul Barker : default-providers: Change update-alternatives provider to opkg-utils

oe-commits Martin Jansa 1 participant 1 message Jan 21, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20140119164038.2027F502E0@opal

#1 lore raw
Quoted 35 lines · 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.

---

 meta/conf/distro/include/default-providers.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta/conf/distro/include/default-providers.inc +0 -2
index e2b0892..419ffcd 100644
@@ -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"

meta/conf/distro/include/default-providers.inc PREFERRED_PROVIDER_virtual/libgl ?= "mesa" · line 21

Quoted 10 lines
meta/conf/distro/include/default-providers.inc +3 -1
+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.

Quoted 8 lines
meta/conf/distro/include/default-providers.inc +0 -0
 VIRTUAL-RUNTIME_apm ?= "apm"
 VIRTUAL-RUNTIME_alsa-state ?= "alsa-state"
 

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

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]