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:28 +0100
commit093dec12e6b3ade7d8a88782d6b8ec02d935d58c (patch)
tree0297558e916f71c03f817765fb3f6b97cfb058fd /meta/classes/image.bbclass
parentdb61a66dbab8f3eccdefdc42a4e59887d28995ca (diff)
downloadpoky-093dec12e6b3ade7d8a88782d6b8ec02d935d58c.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 = ""