diff options
author | Ross Burton <ross.burton@intel.com> | 2019-10-18 12:28:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-19 23:18:33 +0100 |
commit | 8569cb2758ccbc9e22882c37ce490f2f62050e65 (patch) | |
tree | 20c17a99f8d7d51352d5e13b46db349f0ecc8b16 /meta | |
parent | 8d619931eecd40c952c16864a4dc4f4dae2a0c63 (diff) | |
download | poky-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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/file/file_5.37.bb | 2 |
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 | ||
22 | inherit autotools update-alternatives | 22 | inherit autotools update-alternatives |
23 | 23 | ||
24 | EXTRA_OECONF += "--disable-libseccomp" | ||
25 | |||
24 | ALTERNATIVE_${PN} = "file" | 26 | ALTERNATIVE_${PN} = "file" |
25 | ALTERNATIVE_LINK_NAME[file] = "${bindir}/file" | 27 | ALTERNATIVE_LINK_NAME[file] = "${bindir}/file" |
26 | 28 | ||