summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2014-08-28 17:27:12 +0200
committerAndreas Oberritter <obi@opendreambox.org>2015-02-23 17:15:51 +0100
commitb3707ffbd850994fd0be7916d24f3cfab918b87e (patch)
treef11420d947d8a0c1223648b830b5f8e300ba2cab
parent464b28761233fbc7456b8830fb04e04ca2a7597e (diff)
downloadopenembedded-core-contrib-b3707ffbd850994fd0be7916d24f3cfab918b87e.tar.gz
openembedded-core-contrib-b3707ffbd850994fd0be7916d24f3cfab918b87e.tar.bz2
openembedded-core-contrib-b3707ffbd850994fd0be7916d24f3cfab918b87e.zip
update-alternatives.bbclass: Don't add a build dependency on u-a
"update-alternatives" gets called only in postinst/rm scripts, so it's not a build dependency. A runtime dependency gets added anyway. Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
-rw-r--r--meta/classes/update-alternatives.bbclass7
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass
index 9f2c250d03..4476ea6509 100644
--- a/meta/classes/update-alternatives.bbclass
+++ b/meta/classes/update-alternatives.bbclass
@@ -83,10 +83,6 @@ def gen_updatealternativesvardeps(d):
continue
d.appendVar('%s_VARDEPS_%s' % (v,p), ' %s:%s' % (flag, d.getVarFlag('%s_%s' % (v,p), flag, False)))
-def ua_extend_depends(d):
- if not 'virtual/update-alternatives' in d.getVar('PROVIDES', True):
- d.appendVar('DEPENDS', ' virtual/${MLPREFIX}update-alternatives')
-
python __anonymous() {
# Update Alternatives only works on target packages...
if bb.data.inherits_class('native', d) or \
@@ -96,9 +92,6 @@ python __anonymous() {
# compute special vardeps
gen_updatealternativesvardeps(d)
-
- # extend the depends to include virtual/update-alternatives
- ua_extend_depends(d)
}
def gen_updatealternativesvars(d):