diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-03-16 14:31:50 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2016-04-17 13:40:27 -0700 |
commit | b3a1f2c1e3f3aa2367f49aa768693a36eaf484cd (patch) | |
tree | d657e75eaeebdc4054b9731ae7b052eafe4e4ba1 /meta-oe/recipes-support/libsmi | |
parent | 47f2257e76c24f1a5125cdd9b73901269ee7dc5c (diff) | |
download | meta-openembedded-b3a1f2c1e3f3aa2367f49aa768693a36eaf484cd.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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libsmi')
-rw-r--r-- | meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb | 2 |
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 | |||
13 | 13 | ||
14 | inherit autotools | 14 | inherit autotools |
15 | 15 | ||
16 | EXTRA_OECONF = "ac_cv_path_SH=${base_bindir}/sh" | ||
17 | |||
16 | do_install_append () { | 18 | do_install_append () { |
17 | install -d ${D}${sysconfdir} | 19 | install -d ${D}${sysconfdir} |
18 | install -m 0644 ${WORKDIR}/smi.conf ${D}${sysconfdir}/smi.conf | 20 | install -m 0644 ${WORKDIR}/smi.conf ${D}${sysconfdir}/smi.conf |