diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-05-23 13:55:39 +0800 |
---|---|---|
committer | Scott Garman <sgarman@zenlinux.com> | 2012-06-01 09:27:42 -0700 |
commit | 2199e6b9c82bb2b6738e87903f30329586db20e2 (patch) | |
tree | 500ce41c863c3ef459f5159c65b80c45120549f8 /scripts/qemuimage-tests | |
parent | d7bf94647f17c0382caad8af0bdda837b14b22dc (diff) | |
download | openembedded-core-2199e6b9c82bb2b6738e87903f30329586db20e2.tar.gz openembedded-core-2199e6b9c82bb2b6738e87903f30329586db20e2.tar.bz2 openembedded-core-2199e6b9c82bb2b6738e87903f30329586db20e2.zip |
rpm 5.4.0: respect to the arch when choose the alternatives
There is a bug if we:
1) bitbake diffutils with MACHINE=crownbay
2) bitbake diffutils with MACHINE=qemux86
3) bitbake core-image-sato with MACHINE=crownbay
Then the diffutils.i586 would be installed to the crownbay's image, this
is because diffutils.i586 is newer than diffutils.core2, and rpm doesn't
respect to the arch priorities:
We have put the archs in order in _solve_dbpath:
crownbay/solvedb:core2/solvedb:i586/solvedb:all/solvedb
Fix rpm to respect to the order, for example, if it finds a pkg in both
core2/ and i586/, and the core2/ comes first, it should not use the one
in i586/ even if it's build time is newer.
Note: Don't worry about the _free(*ptr), it can check whether ptr is
NULL or not.
This is for the denzil branch, and the master branch also needs it.
[YOCTO #2360]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'scripts/qemuimage-tests')
0 files changed, 0 insertions, 0 deletions