package/image.bbclass: Fix multilib rprovides
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Apr 2013 16:45:27 +0000 (17:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 13 Apr 2013 22:49:28 +0000 (23:49 +0100)
commit0be4b1ac233c0cfac5cf3bc54f4483a0b05b5fa4
tree43105b7250568f518d2ac6ce6784cf309696a90e
parent7018ef4e7422b01ef9c0d4d9dba45ae1db79306a
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>
meta/classes/image.bbclass
meta/classes/package.bbclass
meta/classes/populate_sdk_base.bbclass