From bd979bdaea4cc96801bc735e7be717b4ca9ef0cd Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 15 Apr 2013 12:07:03 +0100 Subject: [PATCH] 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 --- meta/classes/update-alternatives.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/update-alternatives.bbclass b/meta/classes/update-alternatives.bbclass index f7ad4d4..45f4291 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... -- 2.7.4