[yocto] [meta-security][PATCH] samhain-client: Erorr Fix
akuster808
akuster808 at gmail.com
Mon Mar 7 14:19:35 PST 2016
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 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} \
>
More information about the yocto
mailing list