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

mail settings
Submitter Richard Purdie
Date Jan. 17, 2014, 10:25 a.m.
Message ID <1389954318.14987.103.camel@ted>
Download mbox | patch
Permalink /patch/65041/
State Accepted
Commit 7e0adf676da45e49287b7ce6478a6dbfd8fa117f
Headers show


Richard Purdie - Jan. 17, 2014, 10:25 a.m.
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 <>


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'native', d) or'nativesdk', d) or \
+    if'native', d) or \'cross', d) or'crosssdk', d) or \'cross-canadian', d):