]> code.ossystems Code Review - openembedded-core.git/commit
package_manager.py: Reverse rpm arch order
authorJussi Kukkonen <jussi.kukkonen@intel.com>
Wed, 19 Apr 2017 13:25:57 +0000 (16:25 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Apr 2017 06:52:57 +0000 (07:52 +0100)
commit4a82433de42943f8219beca3286f40b67157172f
tree4e502d7c4ecc77e41b4de6f690edfbb10018a36c
parent3a482d55b6e9be263e53e36a67a6e29fbdddc0b1
package_manager.py: Reverse rpm arch order

The architecture list used by dnf/libsolv was in the wrong order.
As a result, the images were built with wrong and unpredictable
packages.

$ MACHINE=intel-corei7-64 bitbake core-image-sato
$ MACHINE=qemux86-64 bitbake core-image-sato
$ MACHINE=intel-corei7-64 bitbake -ccleansstate core-image-sato
$ MACHINE=intel-corei7-64 bitbake core-image-sato

The first image had 0 core2_64 packages in it, but the last one had
583 core2_64 packages (which were built for the qemu image in
between).

Reverse the arch order in etc/dnf/vars/arch.

Fixes [YOCTO #11384].

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager.py