diff options
author | 2022-03-15 14:15:45 +0000 | |
---|---|---|
committer | 2022-03-15 22:05:45 +0000 | |
commit | d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a (patch) | |
tree | 774ce555d167caa55b13dde11abeb1d58a8f509c | |
parent | 5c9f033892ae56c178616859a1245efd375e64bd (diff) | |
download | meta-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.bb | 2 |
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)}" + |