aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-03-16 14:31:50 +0800
committerArmin Kuster <akuster808@gmail.com>2016-04-17 13:40:27 -0700
commitb3a1f2c1e3f3aa2367f49aa768693a36eaf484cd (patch)
treed657e75eaeebdc4054b9731ae7b052eafe4e4ba1
parent47f2257e76c24f1a5125cdd9b73901269ee7dc5c (diff)
downloadmeta-openembedded-b3a1f2c1e3f3aa2367f49aa768693a36eaf484cd.tar.gz
meta-openembedded-b3a1f2c1e3f3aa2367f49aa768693a36eaf484cd.tar.bz2
meta-openembedded-b3a1f2c1e3f3aa2367f49aa768693a36eaf484cd.zip
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> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb b/meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb
index 227430d10..83998ea07 100644
--- a/meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb
+++ b/meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb
@@ -13,6 +13,8 @@ SRC_URI[sha256sum] = "f048a5270f41bc88b0c3b0a8fe70ca4d716a46b531a0ecaaa87c462f49
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