summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2017-08-24 15:28:57 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-28 11:06:05 +0200
commitdec7c6c75b99edee5f1e2a9ce2f42ecd62a9acb8 (patch)
treea4dc5862a24544fe6637d48f61166f51f8978a2c /meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb
parente4af9cf961c70bb4a96eaafd995d0ff2c264cb8e (diff)
downloadmeta-openembedded-dec7c6c75b99edee5f1e2a9ce2f42ecd62a9acb8.tar.gz
logwarn: set correct paths and add missing dependency
* Set correct paths for programs (bash, cat, rm and sed) to avoid QA issue: | ERROR: logwarn-1.0.14-r0 do_package_qa: QA Issue: | /usr/lib/nagios/plugins/check_logwarn contained in package | logwarn-nagios requires /builddir/tmp/hosttools/bash, | but no providers found in RDEPENDS_logwarn-nagios? [file-rdeps] * Add missing dependency on coreutils and sed. 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/logwarn/logwarn_1.0.14.bb')
-rw-r--r--meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb b/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb
index 00e5d497b..5ae36bb67 100644
--- a/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb
+++ b/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb
@@ -22,6 +22,12 @@ lcl_default_state_dir = "${localstatedir}/lib/logwarn"
22 22
23CFLAGS += '-DDEFAULT_STATE_DIR=\""${lcl_default_state_dir}\""' 23CFLAGS += '-DDEFAULT_STATE_DIR=\""${lcl_default_state_dir}\""'
24 24
25CACHED_CONFIGUREVARS += " \
26 ac_cv_path_BASH_SHELL=${base_bindir}/bash \
27 ac_cv_path_CAT=${base_bindir}/cat \
28 ac_cv_path_RM=${base_bindir}/rm \
29 ac_cv_path_SED=${base_bindir}/sed \
30"
25 31
26# Make sure some files exist for autoreconf. 32# Make sure some files exist for autoreconf.
27# 33#
@@ -43,4 +49,4 @@ PACKAGES += "${PN}-nagios"
43 49
44FILES_${PN}-nagios = "${nonarch_libdir}/nagios" 50FILES_${PN}-nagios = "${nonarch_libdir}/nagios"
45 51
46RDEPENDS_${PN}-nagios += "bash" 52RDEPENDS_${PN}-nagios += "bash coreutils sed"