blob: c9eb7994e64924c193e23f709e9a0821f9525b8c [file] [log] [blame]
Brad Bishope42b3e32020-01-15 22:08:42 -05001From 54ea2cabf85ad1bd5695cdbd1935115c9495e80c Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Sun, 1 Dec 2019 17:06:59 +0100
4Subject: [PATCH] meson.build: Just warn if we build without libseccomp
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9libseccomp lives in meta-security currently and we cannot make it a mandatory
10dependency. Once somebody moves libseccomp to meta-oe and adjusts all the
11target specific knobs this patch can go. For discussion see [1].
12
13[1] http://lists.openembedded.org/pipermail/openembedded-devel/2019-November/203234.html
14
15Upstream-Status: Inappropriate [embedded specific]
16
17Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com>
18---
19 meson.build | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/meson.build b/meson.build
23index 71a9df4..1eaa1a0 100644
24--- a/meson.build
25+++ b/meson.build
26@@ -279,7 +279,7 @@ cpu_supports_seccomp = not unsupported_cpus.contains(host_cpu)
27 seccomp_required = system_supports_seccomp and cpu_supports_seccomp
28
29 if not libseccomp.found() and seccomp_required
30- error('Libseccomp is mandatory for sandboxed metadata extraction')
31+ warning('Building without Libseccomp might cause security issues!')
32 endif
33
34 ####################################################################
35--
362.21.0
37