aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-17 10:25:18 +0000
committerAndreas Oberritter <obi@opendreambox.org>2015-02-23 17:15:20 +0100
commitf7943ba6de3faa6ea25affd1d621febf89b1311b (patch)
treeb12ada904899164dc308ce0818c6e45015399553 /meta/classes
parent48b52fe2a8d6bddc518d89c6f0048ba17b57afcd (diff)
downloadopenembedded-core-contrib-f7943ba6de3faa6ea25affd1d621febf89b1311b.tar.gz
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@linuxfoundation.org> (cherry picked from commit 7e0adf676da45e49287b7ce6478a6dbfd8fa117f) Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/update-alternatives.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass
index f75f5b6115..9f2c250d03 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