summaryrefslogtreecommitdiffstats
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:57:39 +0100
commit5b175082d0ce1a38d58f20893ab39a8f1cd25b1e (patch)
treee62496900fef888881bb42c99ecb6f2fcd87563a
parent4ca52d6c3c7dca76d2af98fbae21debe7d240a8f (diff)
downloadpoky-5b175082d0ce1a38d58f20893ab39a8f1cd25b1e.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. (From OE-Core rev: 1fa8909e24866ffada75daf63225c8daa000b9be) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 f7ad4d434b..45f4291aa2 100644
--- a/meta/classes/update-alternatives.bbclass
+++ b/meta/classes/update-alternatives.bbclass
@@ -169,7 +169,7 @@ def gen_updatealternativesvardeps(d):
169 169
170def ua_extend_depends(d): 170def ua_extend_depends(d):
171 if not 'virtual/update-alternatives' in d.getVar('PROVIDES', True): 171 if not 'virtual/update-alternatives' in d.getVar('PROVIDES', True):
172 d.appendVar('DEPENDS', ' virtual/update-alternatives') 172 d.appendVar('DEPENDS', ' virtual/${MLPREFIX}update-alternatives')
173 173
174python __anonymous() { 174python __anonymous() {
175 # Update Alternatives only works on target packages... 175 # Update Alternatives only works on target packages...