[OE-core] [PATCH 4/6 v3] package_rpm: Update the way the multilib package names are translated

Mark Hatle mark.hatle at windriver.com
Fri Dec 7 23:17:18 UTC 2012


On 12/7/12 5:30 PM, Mark Hatle wrote:
> The variable MULTILIB_PACKAGE_ARCHS has been removed in favor of a
> repurposed MULTILIB_PREFIX_LIST.  The format of this item is now
> <libid>:<arch>:<arch1>:...:<archN>.  This ensures that we can correctly
> translate the libid to one of the supported archs in a tri-lib system.
>
> All of the users of MULTILIB_PREFIX_LIST and MULTILIB_PACKAGE_ARCHS have
> been modified accordingly.
>
> Also change the way attempted packages are installed, verify the package
> exists in the translate functions, then perform the install in one single
> operation.  This results in a significantly faster install time.

FYI changes from v2 involve a new flag to the translate_oe_to_smart function. 
This flag instructs the system that we are processing 'SDK' packages, ensuring 
that only the right set get passed in as available to install.

> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
> ---
>   meta/classes/package_rpm.bbclass      |  185 ++++++++++++++++++++++++++++++--
>   meta/classes/populate_sdk_rpm.bbclass |   28 +++--
>   meta/classes/rootfs_rpm.bbclass       |   47 ++++-----
>   3 files changed, 214 insertions(+), 46 deletions(-)
>





More information about the Openembedded-core mailing list