aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-03-16 14:31:50 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-03-25 11:26:58 +0100
commit916da56c121687368557836883340025f0deae92 (patch)
tree59294cdc70e03eac89c0e18414359fd5feeaf2b5 /meta-oe/recipes-support
parent1395b480f4513c71b529041766f30bce5d91f2d7 (diff)
downloadmeta-openembedded-916da56c121687368557836883340025f0deae92.tar.gz
libsmi: set the SH to the target path
Set the SH to the target path to avoid host contamination, which causes the following issue on some hosts: | WARNING: QA Issue: /usr/bin/smicache_libsmi contained in package libsmi requires /usr/bin/sh, but no providers found in its RDEPENDS [file-rdeps] | Computing transaction...error: Can't install libsmi-0.4.8-r0.0@corei7_64: no package provides /usr/bin/sh Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb b/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb
index 2b35c5944d..b049067258 100644
--- a/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb
+++ b/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb
@@ -14,6 +14,8 @@ SRC_URI[sha256sum] = "f21accdadb1bb328ea3f8a13fc34d715baac6e2db66065898346322c72
inherit autotools
+EXTRA_OECONF = "ac_cv_path_SH=${base_bindir}/sh"
+
do_install_append () {
install -d ${D}${sysconfdir}
install -m 0644 ${WORKDIR}/smi.conf ${D}${sysconfdir}/smi.conf