[oe-commits] [meta-openembedded] 21/36: libsmi: set the SH to the target path
git at git.openembedded.org
git at git.openembedded.org
Mon May 2 13:19:00 UTC 2016
martin_jansa pushed a commit to branch jethro-next
in repository meta-openembedded.
commit b3a1f2c1e3f3aa2367f49aa768693a36eaf484cd
Author: Jackie Huang <jackie.huang at windriver.com>
AuthorDate: Wed Mar 16 14:31:50 2016 +0800
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 at corei7_64: no package provides /usr/bin/sh
Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
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 227430d..83998ea 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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list