Bug 5286 - package_rpm handling of MULTILIB_PREFIX_LIST needs refactoring
Summary: package_rpm handling of MULTILIB_PREFIX_LIST needs refactoring
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.6
Hardware: All Multiple
: Medium enhancement
Target Milestone: 1.6
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-09-29 10:52 UTC by Paul Eggleton
Modified: 2014-02-28 17:43 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2013-09-29 10:52:24 UTC
At the moment package_update_index_rpm() in package_rpm.bbclass uses MULTILIB_PREFIX_LIST which is set up in separate mostly duplicated anonymous python code in rootfs_rpm.bbclass and populate_sdk_rpm.bbclass.

package_ipk.bbclass uses ALL_MULTILIB_PACKAGE_ARCHS for the same purpose; surely we only need one variable for this. Some refactoring needs to be done to avoid the apparent duplication in code and variables, ensuring that all users (including the package-index meta-recipe) remain working.
Comment 1 Paul Eggleton 2014-02-28 17:43:37 UTC
MULTILIB_PREFIX_LIST was eliminated with Laurentiu's refactor, so I'm marking this as fixed.