From b3a1f2c1e3f3aa2367f49aa768693a36eaf484cd Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Wed, 16 Mar 2016 14:31:50 +0800 Subject: 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 Signed-off-by: Martin Jansa Signed-off-by: Armin Kuster --- meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb | 2 ++ 1 file changed, 2 insertions(+) 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 227430d106..83998ea078 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 -- cgit 1.2.3-korg