]> code.ossystems Code Review - openembedded-core.git/commitdiff
busybox: changes to support merged /usr
authorAmarnath Valluri <amarnath.valluri@intel.com>
Tue, 13 Jun 2017 06:52:37 +0000 (09:52 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Jun 2017 09:18:22 +0000 (10:18 +0100)
Most of the shell scripts refer to /bin/sh inside the script. When 'usrmege'
feature is enabled, this path would be /usr/bin/sh. Hence, to satisfy build
dependency add '/bin/sh' 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-core/busybox/busybox.inc

index b23eaa10686ba00436f87be1838bab05ccb666b2..0816df624a2163aa2b2dd805b86d2fdae8b7b2da 100644 (file)
@@ -439,3 +439,5 @@ pkg_prerm_${PN}-syslog () {
                fi
        fi
 }
+
+RPROVIDES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sh', '', d)}"