aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Bagwell <aj.bagwell@gmail.com>2022-03-15 14:15:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-15 22:05:45 +0000
commitd2f8b5cdb285b72a4ed93450f6703ca27aa42e8a (patch)
tree774ce555d167caa55b13dde11abeb1d58a8f509c
parent5c9f033892ae56c178616859a1245efd375e64bd (diff)
downloadmeta-gplv2-kirkstone.tar.gz
meta-gplv2-kirkstone.tar.bz2
meta-gplv2-kirkstone.zip
sed: mark as providing /bin/sed when usrmerge is enabledHEADyocto-4.0.1yocto-4.0kirkstone-4.0.1kirkstone-4.04.1_M1masterkirkstone
Otherwise recipies that need sed like strace fail with "requires /bin/sed, but no providers found in RDEPENDS" when building. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--recipes-extended/sed/sed_4.1.2.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-extended/sed/sed_4.1.2.bb b/recipes-extended/sed/sed_4.1.2.bb
index dc061ca..cd7993c 100644
--- a/recipes-extended/sed/sed_4.1.2.bb
+++ b/recipes-extended/sed/sed_4.1.2.bb
@@ -35,3 +35,5 @@ ALTERNATIVE:${PN} = "sed"
ALTERNATIVE_LINK_NAME[sed] = "${base_bindir}/sed"
ALTERNATIVE_PRIORITY = "100"
+RPROVIDES:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sed', '', d)}"
+