[oe-commits] [openembedded-core] 06/20: file: explicitly disable seccomp

git at git.openembedded.org git at git.openembedded.org
Sat Oct 19 17:14:07 UTC 2019


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

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit a752faa152df031df5acaa40491299ac115109a4
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Fri Oct 18 12:28:19 2019 +0100

    file: explicitly disable seccomp
    
    file will automatically enable seccomp if the seccomp headers are available, but
    the build will fail on Opensuse Tumbleweed because the include paths are wrong.
    
    Enabling seccomp is a bad idea because it interacts badly with pseudo (causing
    build failures), so explicitly and globally disable seccomp.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/file/file_5.37.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/file/file_5.37.bb b/meta/recipes-devtools/file/file_5.37.bb
index a840dbc..c53a120 100644
--- a/meta/recipes-devtools/file/file_5.37.bb
+++ b/meta/recipes-devtools/file/file_5.37.bb
@@ -21,6 +21,8 @@ S = "${WORKDIR}/git"
 
 inherit autotools update-alternatives
 
+EXTRA_OECONF += "--disable-libseccomp"
+
 ALTERNATIVE_${PN} = "file"
 ALTERNATIVE_LINK_NAME[file] = "${bindir}/file"
 

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


More information about the Openembedded-commits mailing list