[OE-core] [PATCH v3 5/8] busybox: changes to support merged /usr
Amarnath Valluri
amarnath.valluri at intel.com
Tue Jun 13 06:52:37 UTC 2017
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 at intel.com>
---
meta/recipes-core/busybox/busybox.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index b23eaa1..0816df6 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -439,3 +439,5 @@ pkg_prerm_${PN}-syslog () {
fi
fi
}
+
+RPROVIDES_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/sh', '', d)}"
--
2.7.4
More information about the Openembedded-core
mailing list