All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] util-linux: Improve PACKAGES_DYNAMIC handling for util-linux-native
@ 2025-01-06 16:09 Richard Purdie
  2025-01-06 16:09 ` [PATCH 2/4] coreutils: Improve core-utils-native dependency handling Richard Purdie
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Richard Purdie @ 2025-01-06 16:09 UTC (permalink / raw)
  To: openembedded-core

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.purdie@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}"


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-01-13 14:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-06 16:09 [PATCH 1/4] util-linux: Improve PACKAGES_DYNAMIC handling for util-linux-native Richard Purdie
2025-01-06 16:09 ` [PATCH 2/4] coreutils: Improve core-utils-native dependency handling Richard Purdie
2025-01-06 16:09 ` [PATCH 3/4] bitbake.conf: Add bash-completion-native to ASSUME_PROVIDED Richard Purdie
2025-01-06 16:09 ` [PATCH 4/4] native: Improve ${PN}-XXX package name handling Richard Purdie
2025-01-13 13:45   ` [OE-core] " Quentin Schulz
2025-01-13 14:05     ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.