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-29 09:08:17 +0000
commit0b10203499d6c6075306417b30365855cdd8a63a (patch)
tree5358d0122a4a4f83d3e347dbc8fc58616af0259f
parent6fb5afb65de3a2f94d705e93ebdbc1f46299e885 (diff)
downloadpoky-0b10203499d6c6075306417b30365855cdd8a63a.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: cbbbee1dce84d6ff62fb72282088f839cb642857) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a752faa152df031df5acaa40491299ac115109a4) Signed-off-by: Armin Kuster <akuster808@gmail.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 803aa9a271..6547d12888 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