blob: 53c5f2664e699804f22548494f9d240c84b1cb98 [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
Andrew Geissler69721092021-07-23 12:57:00 -040026@@ 299,7 +299,7 @@ cpu_supports_seccomp = not unsupported_cpus.contains(host_cpu)
27 seccomp_required = system_supports_seccomp and cpu_supports_seccomp and get_option('seccomp') and get_option('extract')
Brad Bishope42b3e32020-01-15 22:08:42 -050028
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