<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 19, 2019 at 2:58 AM Richard Purdie <<a href="mailto:richard.purdie@linuxfoundation.org">richard.purdie@linuxfoundation.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 2019-10-18 at 18:03 +0530, Khem Raj wrote:<br>
> <br>
> <br>
> On Fri, Oct 18, 2019 at 4:58 PM Ross Burton <<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>><br>
> wrote:<br>
> > file will automatically enable seccomp if the seccomp headers are<br>
> > available, but<br>
> > the build will fail on Opensuse Tumbleweed because the include<br>
> > paths are wrong.<br>
> > <br>
> > Enabling seccomp is a bad idea because it interacts badly with<br>
> > pseudo (causing<br>
> > build failures), so explicitly and globally disable seccomp.<br>
> > <br>
> > Signed-off-by: Ross Burton <<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>><br>
> > ---<br>
> > meta/recipes-devtools/file/<a href="http://file_5.37.bb" rel="noreferrer" target="_blank">file_5.37.bb</a> | 2 ++<br>
> > 1 file changed, 2 insertions(+)<br>
> > <br>
> > diff --git a/meta/recipes-devtools/file/<a href="http://file_5.37.bb" rel="noreferrer" target="_blank">file_5.37.bb</a><br>
> > b/meta/recipes-devtools/file/<a href="http://file_5.37.bb" rel="noreferrer" target="_blank">file_5.37.bb</a><br>
> > index a840dbc012b..c53a120b840 100644<br>
> > --- a/meta/recipes-devtools/file/<a href="http://file_5.37.bb" rel="noreferrer" target="_blank">file_5.37.bb</a><br>
> > +++ b/meta/recipes-devtools/file/<a href="http://file_5.37.bb" rel="noreferrer" target="_blank">file_5.37.bb</a><br>
> > @@ -21,6 +21,8 @@ S = "${WORKDIR}/git"<br>
> > <br>
> > inherit autotools update-alternatives<br>
> > <br>
> > +EXTRA_OECONF += "--disable-libseccomp"<br>
> > +<br>
> <br>
> On host it makes sense but how about for target recipe ? We do have<br>
> libseccomp support <br>
> Perhaps it’s best to disable it for native and native sdk alone ?<br>
<br>
Given the problem reports in the media and the decisions made by most<br>
other distros I think disabling this is probably safest until its been<br>
make more usable (no other distro is shipping this enabled now).<br>
</blockquote><div dir="auto"><br></div><div dir="auto">Ok makes sense </div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Cheers,<br>
<br>
Richard<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div></div>