Patchwork [0/2] package_manager.py: set preferred ABI for rpm

login
register
mail settings
Submitter Robert Yang
Date July 31, 2014, 8:15 a.m.
Message ID <cover.1406794207.git.liezhi.yang@windriver.com>
Download mbox
Permalink /patch/77015/
State Accepted
Commit a9c8767a1707fa6ea40cbba99d4e12160fd91d11
Headers show

Pull-request

git://git.openembedded.org/openembedded-core-contrib robert/rpm

Comments

Robert Yang - July 31, 2014, 8:15 a.m.
Test info:
* Set these in local.conf:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

IMAGE_INSTALL_append = " bash lib32-bash"

1) Set RPM_PREFER_COLOR = "1" in local.conf
$ bitbke core-image-minimal
$ file tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/bin/bash
tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/bin/bash: ELF 32-bit LSB executable, Intel 80386
### 32bit wins

2) Set RPM_PREFER_COLOR = "2" in local.conf
$ bitbke core-image-minimal
$ file tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/bin/bash
tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/bin/bash: ELF 64-bit LSB executable, x86-64
### 64bit wins

// Robert

The following changes since commit 7986adeac16550b33f65fded39a55f668e0e543f:

  populate_sdk_base: Fix grep command usage on old hosts (2014-07-29 09:57:54 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib robert/rpm
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/rpm

Robert Yang (2):
  package_manager.py: set preferred ABI for rpm
  local.conf.sample.extended: update for preferred ABI

 meta/conf/local.conf.sample.extended |   15 +++++++++++++++
 meta/lib/oe/package_manager.py       |   16 ++++++++++++++++
 meta/lib/oe/rootfs.py                |    3 ++-
 3 files changed, 33 insertions(+), 1 deletion(-)