summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-01-06 16:01:44 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-01-10 11:23:45 +0000
commit68fee9588bc2a3f65f6ece467f6e0d2e0f8d8ec2 (patch)
tree4294e0eab0a88e6598ca8d1fefcc8d3566cb3d3d
parenta619a39d1575b76d9a89d4d7420a321465b8e676 (diff)
downloadpoky-68fee9588bc2a3f65f6ece467f6e0d2e0f8d8ec2.tar.gz
coreutils: Improve core-utils-native dependency handling
bash-dev-native does not exist, nor should it. Tweak the recipe so that if/as/when we fix native ${PN}-XXX handling, this doesn't break. Use variable indirection as the least worse solution as an override directly will get overwritten with variable renaming, resulting in a warning. (From OE-Core rev: 879590563bc43a303e77541cd99979a449d9bfed) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/coreutils/coreutils_9.5.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/coreutils/coreutils_9.5.bb b/meta/recipes-core/coreutils/coreutils_9.5.bb
index af0fcdcc4c..ae07cba164 100644
--- a/meta/recipes-core/coreutils/coreutils_9.5.bb
+++ b/meta/recipes-core/coreutils/coreutils_9.5.bb
@@ -182,7 +182,9 @@ RDEPENDS:${PN}-ptest += "bash findutils gawk make perl perl-modules python3-core
182# may need tweaking if DEPENDS changes 182# may need tweaking if DEPENDS changes
183# Can't use ${PN}-dev here since flags with overrides and key expansion not supported 183# Can't use ${PN}-dev here since flags with overrides and key expansion not supported
184RRECOMMENDS:coreutils-dev[nodeprrecs] = "1" 184RRECOMMENDS:coreutils-dev[nodeprrecs] = "1"
185RRECOMMENDS:${PN}-dev += "acl-dev attr-dev gmp-dev libcap-dev bash-dev findutils-dev gawk-dev shadow-dev" 185DEVDEPS = "acl-dev attr-dev gmp-dev libcap-dev bash-dev findutils-dev gawk-dev shadow-dev"
186DEVDEPS:class-native = ""
187RRECOMMENDS:${PN}-dev += "${DEVDEPS}"
186 188
187do_install_ptest () { 189do_install_ptest () {
188 install -d ${D}${PTEST_PATH}/tests 190 install -d ${D}${PTEST_PATH}/tests