[meta-gplv2] [PATCH] sed: mark as providing /bin/sed when usrmerge is enabled


Anthony Bagwell
 

Otherwise recipies that need sed like strace fail with
"requires /bin/sed, but no providers found in RDEPENDS"
when building.
---
recipes-extended/sed/sed_4.1.2.bb | 2 ++
1 file changed, 2 insertions(+)

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)}"
+
--
2.32.0 (Apple Git-132)

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.