aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/update-alternatives.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-15 12:07:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-15 15:45:31 +0100
commit1fa8909e24866ffada75daf63225c8daa000b9be (patch)
treeff6b4b6fbdf7ab320a455a5c9c9bcb854d767438 /meta/classes/update-alternatives.bbclass
parent1392f959cb8cd50b5a4492899e54f3ed68ef56d7 (diff)
downloadopenembedded-core-contrib-1fa8909e24866ffada75daf63225c8daa000b9be.tar.gz
update-alternatives: Ensure DEPENDS is correct in multilib case
Ensure that the DEPENDS we're adding is correct in the multilib case by including MLPREFIX, fixing unnecessary dependencies in those images. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/update-alternatives.bbclass')
-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 f7ad4d434b5..45f4291aa26 100644
--- a/meta/classes/update-alternatives.bbclass
+++ b/meta/classes/update-alternatives.bbclass
@@ -169,7 +169,7 @@ def gen_updatealternativesvardeps(d):
def ua_extend_depends(d):
if not 'virtual/update-alternatives' in d.getVar('PROVIDES', True):
- d.appendVar('DEPENDS', ' virtual/update-alternatives')
+ d.appendVar('DEPENDS', ' virtual/${MLPREFIX}update-alternatives')
python __anonymous() {
# Update Alternatives only works on target packages...