diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-15 12:07:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-15 15:57:39 +0100 |
commit | 5b175082d0ce1a38d58f20893ab39a8f1cd25b1e (patch) | |
tree | e62496900fef888881bb42c99ecb6f2fcd87563a | |
parent | 4ca52d6c3c7dca76d2af98fbae21debe7d240a8f (diff) | |
download | poky-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.bbclass | 2 |
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 | ||
170 | def ua_extend_depends(d): | 170 | def 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 | ||
174 | python __anonymous() { | 174 | python __anonymous() { |
175 | # Update Alternatives only works on target packages... | 175 | # Update Alternatives only works on target packages... |