public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] file: explicitly disable seccomp
@ 2019-10-18 11:28 Ross Burton
  2019-10-18 12:33 ` Khem Raj
  0 siblings, 1 reply; 13+ messages in thread
From: Ross Burton @ 2019-10-18 11:28 UTC (permalink / raw)
  To: openembedded-core

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@intel.com>
---
 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 a840dbc012b..c53a120b840 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"
 
-- 
2.20.1



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

end of thread, other threads:[~2020-04-03 17:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-18 11:28 [PATCH] file: explicitly disable seccomp Ross Burton
2019-10-18 12:33 ` Khem Raj
2019-10-18 21:28   ` Richard Purdie
2019-10-19  5:26     ` Khem Raj
2020-01-20 12:53     ` Martin Hundebøll
2020-01-20 15:45       ` Khem Raj
2020-01-20 17:10         ` Ross Burton
2020-01-20 18:53           ` Khem Raj
2020-03-31 10:57           ` [OE-core] " Jan Luebbe
2020-03-31 11:04             ` Richard Purdie
2020-04-03 13:36             ` Richard Purdie
2020-04-03 14:23               ` Khem Raj
2020-04-03 17:53                 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox