]> code.ossystems Code Review - openembedded-core.git/commitdiff
update-alternatives: We now use u-a in nativesdk so make sure the dependency is present
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 Jan 2014 10:25:18 +0000 (10:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 Jan 2014 10:32:09 +0000 (10:32 +0000)
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@linuxfoundation.org>
meta/classes/update-alternatives.bbclass

index f75f5b6115e0c5f2d8203c8550e9f916e09d5841..9f2c250d03879d64a02ad56c195312343cb26f9d 100644 (file)
@@ -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