diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-12 17:45:27 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-13 23:49:28 +0100 |
commit | 093dec12e6b3ade7d8a88782d6b8ec02d935d58c (patch) | |
tree | 0297558e916f71c03f817765fb3f6b97cfb058fd /meta/classes/populate_sdk_base.bbclass | |
parent | db61a66dbab8f3eccdefdc42a4e59887d28995ca (diff) | |
download | poky-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/populate_sdk_base.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index 6280705236..49e446986f 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -30,7 +30,8 @@ EXCLUDE_FROM_WORLD = "1" | |||
30 | SDK_PACKAGING_FUNC ?= "create_shar" | 30 | SDK_PACKAGING_FUNC ?= "create_shar" |
31 | 31 | ||
32 | fakeroot python do_populate_sdk() { | 32 | fakeroot python do_populate_sdk() { |
33 | runtime_mapping_rename("TOOLCHAIN_TARGET_TASK", d) | 33 | pn = d.getVar('PN', True) |
34 | runtime_mapping_rename("TOOLCHAIN_TARGET_TASK", pn, d) | ||
34 | 35 | ||
35 | bb.build.exec_func("populate_sdk_image", d) | 36 | bb.build.exec_func("populate_sdk_image", d) |
36 | 37 | ||