package_rpm: enhance strip_multilib function
authorDongxiao Xu <dongxiao.xu@intel.com>
Wed, 3 Aug 2011 14:52:48 +0000 (22:52 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Aug 2011 14:14:55 +0000 (15:14 +0100)
commitcf5eae8d736c43c6b162655f55a186465555fe9a
treef26ff8ad2ff82177e26c4aa1d77d966d8ad391d3
parentd7717f4f9d5f4bd9cdf3cbb699b1ed42fb6dfe76
package_rpm: enhance strip_multilib function

The previous logic could only strip MLPREFIX from the first element in
an array, take an example, strip_multilib the [lib32-a lib32-b lib32-c]
will result in [a lib32-b lib32-c]. We need to strip prefix one by one.

This commit change the logic to strip all elements' multilib prefix.

[YOCTO #1368]

CC: Mark Hatle <mark.hatle@windriver.com>
(From OE-Core rev: ca729de4b261e4feba74fdf0b2578890bc80ea90)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_rpm.bbclass