[yocto] [meta-security][PATCH] samhain-client: Erorr Fix
Li Xin
lixin.fnst at cn.fujitsu.com
Sun Mar 6 19:49:50 PST 2016
The Error is as following:
# /usr/sbin/samhain -t init -p info
......
Segmentation fault
# echo $?
139
Signed-off-by: Li Xin <lixin.fnst at cn.fujitsu.com>
---
recipes-security/samhain/samhain.inc | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/recipes-security/samhain/samhain.inc b/recipes-security/samhain/samhain.inc
index 9525229..23bc8f5 100644
--- a/recipes-security/samhain/samhain.inc
+++ b/recipes-security/samhain/samhain.inc
@@ -50,7 +50,12 @@ do_configure_prepend_aarch64() {
# recognized by Samhain's configure script and would invariably
# throw back the error "unrecognized option: --oldincludedir=/usr/include"
do_configure () {
- cd ${S}
+ cat << EOF > ./config-site.${BP}
+ssp_cv_lib=no
+sh_cv_va_copy=yes
+EOF
+
+ export CONFIG_SITE=./config-site.${BP}
./configure \
--build=${BUILD_SYS} \
--host=${HOST_SYS} \
--
1.8.4.2
More information about the yocto
mailing list