]> code.ossystems Code Review - openembedded-core.git/commitdiff
sed: changes to support merged /usr
authorAmarnath Valluri <amarnath.valluri@intel.com>
Tue, 13 Jun 2017 06:52:38 +0000 (09:52 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Jun 2017 09:18:22 +0000 (10:18 +0100)
Few of the perl scripts referring '#!/bin/sed' inside the script. But when
'usrmerge' feature is enabled this path would be /usr/bin/sed. So to satisfy
build dependency add '/bin/sed' to it's providers list.

Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/sed/sed_4.2.2.bb

index 5aa7d8a07973e5597dce104a9c581f67ff94f7a6..e31bec28903769294d1465327232e80c1af66a38 100644 (file)
@@ -44,3 +44,4 @@ do_install_ptest() {
        oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR}
 }
 
+RPROVIDES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sed', '', d)}"