DEBUG: Assuming util-linux-swapon-native is a dynamic package, but it may not exist DEBUG: Assuming util-linux-swapon-native is a dynamic package, but it may not exist DEBUG: providers for util-linux-swapon-native are: ['util-linux', 'util-linux-native'] DEBUG: sorted runtime providers for util-linux-swapon-native are: ['recipes-core/util-linux/util-linux_2.40.2.bb', 'virtual:native:recipes-core/util-linux/util-linux_2.40.2.bb'] NOTE: Multiple providers are available for runtime util-linux-swapon-native (util-linux, util-linux-native)
The PACKAGES_DYANMIC line could match native and non-native packages so tweak to improve -native handling and avoid the above warnings in world builds. Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> --- meta/recipes-core/util-linux/util-linux_2.40.2.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/util-linux/util-linux_2.40.2.bb b/meta/recipes-core/util-linux/util-linux_2.40.2.bb index 2c7dd154e19..5be35eabf82 100644 --- a/meta/recipes-core/util-linux/util-linux_2.40.2.bb +++ b/meta/recipes-core/util-linux/util-linux_2.40.2.bb @@ -59,7 +59,8 @@ python util_linux_libpackages() { PACKAGESPLITFUNCS =+ "util_linux_libpackages" -PACKAGES_DYNAMIC = "^${PN}-.*" +PACKAGES_DYNAMIC = "^${MLPREFIX}${BPN}-.*" +PACKAGES_DYNAMIC:class-native = "^${PN}-.*-native" UTIL_LINUX_LIBDIR = "${libdir}" UTIL_LINUX_LIBDIR:class-target = "${base_libdir}"
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#209428): https://lists.openembedded.org/g/openembedded-core/message/209428 Mute This Topic: https://lists.openembedded.org/mt/110459607/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-