]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/package_manager: Improve repo artefact filtering
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Aug 2023 15:49:24 +0000 (16:49 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 22 Aug 2023 17:07:13 +0000 (07:07 -1000)
commitb811ce9e1c94532d49db54d4c3458cd804d96adb
tree912d2ba30f2f2a3ce1f829585450d1ee0cd7698d
parent76f928359f76d449de0d884c591a5d9fdba9d19c
lib/package_manager: Improve repo artefact filtering

If you run an arm build followed by an x86 one and then ask for a
full repo to be created, it will include all of the arm and x86 packages.
testexport will then find the arm socat package rather than the x86 one
and try and run arm binaries within an x86 qemu image with no success.

The reproducer for this was:

oe-selftest -r fitimage.FitImageTests.test_initramfs_bundle runtime_test.TestImage.test_testimage_install

This patch only symlinks in the compatible package archictures rather
than all of them which fixes the failure and the resulting autobuilder
intermittent failure too.

[YOCTO #15190]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 30b45bcf49bf8207fd96bb45a55d7708661f3359)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oe/package_manager/__init__.py