Paul Barker : default-providers: Change update-alternatives provider to opkg-utils
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=2f18289493f9c2c67ba343fb8e16743bf5dfee24Author: Paul Barker <[email protected]> Date: Thu Jan 16 17:59:25 2014 +0000default-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(-)meta/conf/distro/include/default-providers.inc +0
-2@@ -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
-0VIRTUAL-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]