From: Martin Jansa Date: Wed, 10 May 2023 14:21:14 +0000 (+0200) Subject: populate_sdk_base.bbclass: respect MLPREFIX for ptest-pkgs's ptest-runner X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~975 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4d24749e7e94881bb952f5c927f0012eb70d4390;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git populate_sdk_base.bbclass: respect MLPREFIX for ptest-pkgs's ptest-runner * since "populate_sdk_base: ensure ptest-pkgs pulls in ptest-runner" change: https://git.openembedded.org/openembedded-core/commit/?id=ecff0642be5781f7f6cca617158b04ac9a0e85f0 in multilib build when building lib32-foo-image it can pick wrong ptest-runner package if it was built in the same TMPDIR before the image, do_rootfs then fails to find it, if the package manager config doesn't have 64-bit feed enabled: opkg_prepare_url_for_install: Couldn't find anything to satisfy 'ptest-runner' Signed-off-by: Martin Jansa Signed-off-by: Alexandre Belloni --- diff --git a/meta/classes-recipe/populate_sdk_base.bbclass b/meta/classes-recipe/populate_sdk_base.bbclass index 1c619ef3cf1..b23ea26d409 100644 --- a/meta/classes-recipe/populate_sdk_base.bbclass +++ b/meta/classes-recipe/populate_sdk_base.bbclass @@ -15,7 +15,7 @@ COMPLEMENTARY_GLOB[staticdev-pkgs] = '*-staticdev' COMPLEMENTARY_GLOB[doc-pkgs] = '*-doc' COMPLEMENTARY_GLOB[dbg-pkgs] = '*-dbg' COMPLEMENTARY_GLOB[src-pkgs] = '*-src' -COMPLEMENTARY_GLOB[ptest-pkgs] = '*-ptest ptest-runner' +COMPLEMENTARY_GLOB[ptest-pkgs] = '*-ptest ${MLPREFIX}ptest-runner' COMPLEMENTARY_GLOB[bash-completion-pkgs] = '*-bash-completion' def complementary_globs(featurevar, d):