generic-poky/meta/lib/oe
Robert Yang a9c8767a17 package_manager.py: set preferred ABI for rpm
When using the RPM packaging backend to generate a rootfs there needs to
be a way to configure the preferred ABI to resolve ELF file conflicts.

Currently RPM resolves ELF file conflicts with the last-installed wins.
Using SMART it's difficult to know what the last installed will be.

There are three specific policies that can be selected:
1: ELF32 wins
2: ELF64 wins
3: ELF64 N32 wins (mips64 or mips64el only)

Another option "0" is uncontrollable, which means that if two are being
installed at once Elf64 is preferred, but if they're being installed in
two different transactions, last in wins, so we don't document it.

Add RPM_PREFER_COLOR to let the user config the preferred ABI.

[YOCTO #4073]

(From OE-Core rev: f56d7be2c35cedcd763ba66913982aa4c425d561)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-02 09:26:16 +01:00
..
tests test_utils: import functions directly for conciseness 2013-06-07 16:48:25 +01:00
__init__.py lib/oe: turn oe into a namespace package 2014-03-17 14:01:41 +00:00
buildhistory_analysis.py classes/buildhistory: add additional variables to image information 2013-12-03 17:45:50 +00:00
cachedpath.py cachedpath.py: global name 'error' is not defined 2013-05-15 19:27:11 +03:00
classextend.py lib/oe/classextend: Avoid early expansion of PR values 2014-07-25 15:33:58 +01:00
classutils.py oe.classutils: add module 2011-06-28 13:55:43 +01:00
data.py Remove a number of unneeded import os/bb calls 2012-07-19 12:24:50 +01:00
distro_check.py distro_check: Remove creation of empty Meego filelist. 2013-02-12 13:22:44 +00:00
image.py lib/oe/image.py: check the rootfs size against IMAGE_ROOTFS_MAXSIZE 2014-07-10 17:38:35 +01:00
license.py meta/lib/oe: Replace StandardError with Exception 2013-05-09 14:06:51 +01:00
lsb.py lib/oe/lsb.py: fall back to /etc/os-release for host distro ID 2013-07-02 22:23:48 +01:00
maketype.py Remove a number of unneeded import os/bb calls 2012-07-19 12:24:50 +01:00
manifest.py populate_sdk: Fix TOOLCHAIN_TARGET_TASK_ATTEMPTONLY implementation 2014-06-25 13:51:47 +01:00
package.py package.py: use subprocess.Popen for rpmdeps call 2014-03-07 14:58:46 +00:00
package_manager.py package_manager.py: set preferred ABI for rpm 2014-08-02 09:26:16 +01:00
packagedata.py bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory 2013-09-14 08:21:00 +01:00
packagegroup.py Rename PACKAGE_GROUP variable to FEATURE_PACKAGES 2014-03-07 14:45:21 +00:00
patch.py lib/oe/patch.py: Prefer "git am" over "git apply" when applying git patches 2014-01-28 00:52:32 +00:00
path.py lib/oe: drop custom implementation of oe.path.relative 2014-03-07 14:58:44 +00:00
prservice.py image/kernel-module-split/eglibc-ld.inc: Remove has_key() usage 2013-05-09 14:06:51 +01:00
qa.py image/kernel-module-split/eglibc-ld.inc: Remove has_key() usage 2013-05-09 14:06:51 +01:00
rootfs.py package_manager.py: set preferred ABI for rpm 2014-08-02 09:26:16 +01:00
sdk.py lib/oe/sdk: Ensure target directory exists before creating the link 2014-04-30 16:39:07 +01:00
sstatesig.py sstatesig: Add try/except around the stat calls 2014-06-19 17:55:11 +01:00
terminal.py make menuconfig work for recent xfce environment 2014-04-23 11:43:27 +01:00
types.py oe.types: add 'path' type 2013-08-26 11:47:18 +01:00
utils.py Globally replace oe.utils.contains to bb.utils.contains 2014-04-25 17:19:19 +01:00