summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-12 17:45:27 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-13 23:49:34 +0100
commita04c1367199faf2075d3662000c99e94c77439f3 (patch)
tree8b758d601c3a62a4d6ddf74f1e11263e7bcd1aa4 /meta/classes/image.bbclass
parentdaed00059c3b0c64520970fc3ea15a2a0112e968 (diff)
downloadpoky-a04c1367199faf2075d3662000c99e94c77439f3.tar.gz
package/image.bbclass: Fix multilib rprovides
allarch multilib recipes are meant to provide a list of different multilib variants. Unfortunately since the pkgdata also has mappings for these, they get mapped back to the original package name which means the effect is undone at package creation time when the remapping code is called. This patch adds in a conditional to break that chain meaning the packages get the correct RPROVIDES and image builds work correctly with opkg. [YOCTO #3453] (From OE-Core rev: 1a1927f8a04fe0a2b3b853ebdd33ccb807f00b59) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 3cde0b8cba..4e9c29cb8b 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -116,8 +116,9 @@ python () {
116 d.setVar('IMAGE_FEATURES', ' '.join(list(remain_features))) 116 d.setVar('IMAGE_FEATURES', ' '.join(list(remain_features)))
117 117
118 if d.getVar('BB_WORKERCONTEXT', True) is not None: 118 if d.getVar('BB_WORKERCONTEXT', True) is not None:
119 runtime_mapping_rename("PACKAGE_INSTALL", d) 119 pn = d.getVar('PN', True)
120 runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", d) 120 runtime_mapping_rename("PACKAGE_INSTALL", pn, d)
121 runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", pn, d)
121 122
122 # Ensure we have the vendor list for complementary package handling 123 # Ensure we have the vendor list for complementary package handling
123 ml_vendor_list = "" 124 ml_vendor_list = ""