Skip to contentSkip to conversation

populate_sdk_base.bbclass: respect MLPREFIX for ptest-pkgs's ptest-runner

PATCH New Martin Jansa 1 participant 1 message May 28, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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'

---
 meta/classes-recipe/populate_sdk_base.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes-recipe/populate_sdk_base.bbclass +1 -1
index 1c619ef3cf..b23ea26d40 100644
@@ -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):
Signature · 1 line
2.40.1