[oe-commits] [meta-openembedded] 26/33: logwarn: set correct paths and add missing dependency

git at git.openembedded.org git at git.openembedded.org
Thu Aug 24 14:23:49 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 3d85015a8e428d5c881415ae4795e9c6c92e0e1f
Author: Jackie Huang <jackie.huang at windriver.com>
AuthorDate: Thu Aug 24 15:28:57 2017 +0800

    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 at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

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 00e5d49..5ae36bb 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"
 
 CFLAGS += '-DDEFAULT_STATE_DIR=\""${lcl_default_state_dir}\""'
 
+CACHED_CONFIGUREVARS += " \
+    ac_cv_path_BASH_SHELL=${base_bindir}/bash \
+    ac_cv_path_CAT=${base_bindir}/cat \
+    ac_cv_path_RM=${base_bindir}/rm \
+    ac_cv_path_SED=${base_bindir}/sed \
+"
 
 # Make sure some files exist for autoreconf.
 #
@@ -43,4 +49,4 @@ PACKAGES += "${PN}-nagios"
 
 FILES_${PN}-nagios = "${nonarch_libdir}/nagios"
 
-RDEPENDS_${PN}-nagios += "bash"
+RDEPENDS_${PN}-nagios += "bash coreutils sed"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list