summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-10-18 12:28:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-19 23:18:33 +0100
commit8569cb2758ccbc9e22882c37ce490f2f62050e65 (patch)
tree20c17a99f8d7d51352d5e13b46db349f0ecc8b16
parent8d619931eecd40c952c16864a4dc4f4dae2a0c63 (diff)
downloadpoky-8569cb2758ccbc9e22882c37ce490f2f62050e65.tar.gz
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. (From OE-Core rev: a752faa152df031df5acaa40491299ac115109a4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/file/file_5.37.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/file/file_5.37.bb b/meta/recipes-devtools/file/file_5.37.bb
index a840dbc012..c53a120b84 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"
21 21
22inherit autotools update-alternatives 22inherit autotools update-alternatives
23 23
24EXTRA_OECONF += "--disable-libseccomp"
25
24ALTERNATIVE_${PN} = "file" 26ALTERNATIVE_${PN} = "file"
25ALTERNATIVE_LINK_NAME[file] = "${bindir}/file" 27ALTERNATIVE_LINK_NAME[file] = "${bindir}/file"
26 28