[oe-commits] Richard Purdie : update-alternatives: We now use u-a in nativesdk so make sure the dependency is present

git at git.openembedded.org git at git.openembedded.org
Fri Jan 17 11:44:52 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 7e0adf676da45e49287b7ce6478a6dbfd8fa117f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7e0adf676da45e49287b7ce6478a6dbfd8fa117f

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Fri Jan 17 10:25:18 2014 +0000

update-alternatives: We now use u-a in nativesdk so make sure the dependency is present

When update-alternatives was part of opkg which got built in most nativesdk
scenarios, this missing dependency wasn't an issue. We now need nativesdk-opkg-utils
so we need to ensure the dependency is present in nativesdk cases.

This avoids build failures with the recent u-a move to opkg-utils.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/update-alternatives.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass
index f75f5b6..9f2c250 100644
--- a/meta/classes/update-alternatives.bbclass
+++ b/meta/classes/update-alternatives.bbclass
@@ -89,7 +89,7 @@ def ua_extend_depends(d):
 
 python __anonymous() {
     # Update Alternatives only works on target packages...
-    if bb.data.inherits_class('native', d) or bb.data.inherits_class('nativesdk', d) or \
+    if bb.data.inherits_class('native', d) or \
        bb.data.inherits_class('cross', d) or bb.data.inherits_class('crosssdk', d) or \
        bb.data.inherits_class('cross-canadian', d):
         return



More information about the Openembedded-commits mailing list