Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] update-alternatives: We now use u-a in nativesdk so make sure the dependency is present
@ 2014-01-17 10:25 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-01-17 10:25 UTC (permalink / raw)
  To: openembedded-core

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>
---
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




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-17 10:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-17 10:25 [PATCH] update-alternatives: We now use u-a in nativesdk so make sure the dependency is present Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox