All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-security][PATCH] samhain-client: Erorr Fix
@ 2016-03-07  3:49 Li Xin
  2016-03-07 22:19 ` akuster808
  0 siblings, 1 reply; 2+ messages in thread
From: Li Xin @ 2016-03-07  3:49 UTC (permalink / raw)
  To: yocto

The Error is as following:
 # /usr/sbin/samhain -t init -p info
 ......
 Segmentation fault
 # echo $?
 139

Signed-off-by: Li Xin <lixin.fnst@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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-security][PATCH] samhain-client: Erorr Fix
  2016-03-07  3:49 [meta-security][PATCH] samhain-client: Erorr Fix Li Xin
@ 2016-03-07 22:19 ` akuster808
  0 siblings, 0 replies; 2+ messages in thread
From: akuster808 @ 2016-03-07 22:19 UTC (permalink / raw)
  To: Li xin; +Cc: yocto

merged.

thanks
-armin

On 03/06/2016 07:49 PM, Li Xin wrote:
> The Error is as following:
>  # /usr/sbin/samhain -t init -p info
>  ......
>  Segmentation fault
>  # echo $?
>  139
> 
> Signed-off-by: Li Xin <lixin.fnst@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} \
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-07 22:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-07  3:49 [meta-security][PATCH] samhain-client: Erorr Fix Li Xin
2016-03-07 22:19 ` akuster808

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.