]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm: enhance strip_multilib function
authorDongxiao Xu <dongxiao.xu@intel.com>
Wed, 3 Aug 2011 14:52:48 +0000 (22:52 +0800)
committerSaul Wold <sgw@linux.intel.com>
Wed, 17 Aug 2011 05:53:54 +0000 (22:53 -0700)
commitca729de4b261e4feba74fdf0b2578890bc80ea90
tree683cacb0b83fa733f01869b7c0e71d3b7a453975
parentdc78cdb318671862c5cd15711364c1c4462d9ece
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>
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
meta/classes/package_rpm.bbclass