diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-06 15:58:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-10 11:23:45 +0000 |
commit | cfabbd46f53bfdcd0ec17e475f05dd322d3deebe (patch) | |
tree | 078e544245f24ae8172572b23d87fa8fee8ec328 | |
parent | 68fee9588bc2a3f65f6ece467f6e0d2e0f8d8ec2 (diff) | |
download | poky-cfabbd46f53bfdcd0ec17e475f05dd322d3deebe.tar.gz |
util-linux: Improve PACKAGES_DYNAMIC handling for util-linux-native
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.
(From OE-Core rev: 5577bb4772a76b3e419cf1f8f2a439bc1b15a9b5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/util-linux/util-linux_2.40.2.bb | 3 |
1 files changed, 2 insertions, 1 deletions
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 2c7dd154e1..81bd298dd9 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() { | |||
59 | 59 | ||
60 | PACKAGESPLITFUNCS =+ "util_linux_libpackages" | 60 | PACKAGESPLITFUNCS =+ "util_linux_libpackages" |
61 | 61 | ||
62 | PACKAGES_DYNAMIC = "^${PN}-.*" | 62 | PACKAGES_DYNAMIC = "^${PN}(?!.*-native)-.*" |
63 | PACKAGES_DYNAMIC:class-native = "^${BPN}-.*-native" | ||
63 | 64 | ||
64 | UTIL_LINUX_LIBDIR = "${libdir}" | 65 | UTIL_LINUX_LIBDIR = "${libdir}" |
65 | UTIL_LINUX_LIBDIR:class-target = "${base_libdir}" | 66 | UTIL_LINUX_LIBDIR:class-target = "${base_libdir}" |