[OE-core] [PATCH 0/2] package_manager.py: set preferred ABI for rpm

Robert Yang liezhi.yang at windriver.com
Thu Jul 31 08:15:17 UTC 2014


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(-)

-- 
1.7.9.5



More information about the Openembedded-core mailing list