Commit Graph

83 Commits

Author SHA1 Message Date
Christian Brauner
575d0e34ae
build: add additional command line switches
In order to compile for fuzzers where we will need and want to turn a
bunch of things off add command line switches that allow us to do so.

Signed-off-by: Christian Brauner (Microsoft) <christian.brauner@ubuntu.com>
2022-06-08 20:03:05 +02:00
Stéphane Graber
cd3d65155b
meson: Always defined IS_BIONIC
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-08 01:00:51 -04:00
Stéphane Graber
4c96107d1e
meson: Always define HAVE_LIBURING
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-07 17:18:11 -04:00
Stéphane Graber
869deb9173
meson: seccomp is optional
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-07 17:18:10 -04:00
Stéphane Graber
f7de7d7adf
meson: Fix on shallow git trees
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-07 17:18:09 -04:00
Stéphane Graber
d5dff814ac
meson: Add bionic detection
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-07 17:18:08 -04:00
Stéphane Graber
e18dbec746
meson: Fix RPM spec variables
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-07 17:18:07 -04:00
Stéphane Graber
5055c73d91
meson: Skip static library when using sanitizer
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-07 17:18:04 -04:00
Stéphane Graber
8d77f43f5c
meson: Cleanup and fix includes
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-07 17:18:04 -04:00
Stéphane Graber
4dd5e0cf13
meson: Add coverity flag
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-07 17:18:03 -04:00
Stéphane Graber
9c562440e5
meson: Add RPM spec
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-02 16:50:01 -04:00
Stéphane Graber
eba7f7a6bc
meson: Rework configuration variables
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-02 16:50:00 -04:00
Stéphane Graber
f80af4e12b
meson: Export more variables to doc
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-02 16:49:58 -04:00
Stéphane Graber
299f3f80d2
meson: Export LXC_DISTRO_SYSCONF
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-06-02 16:49:58 -04:00
Stéphane Graber
6105cc7f53
meson: Add apparmor profiles
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-30 19:16:42 -04:00
Stéphane Graber
36a53f3026
meson: Add sysconfig
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-30 19:16:41 -04:00
Stéphane Graber
8131bb44ec
meson: Add init scripts
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-30 19:16:40 -04:00
Stéphane Graber
7d8a38b260
meson: Rename want_io_uring
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-30 19:16:39 -04:00
Stéphane Graber
4412d151b6
meson: Make docbook2man required if user requested doc
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-30 19:16:38 -04:00
Stéphane Graber
2bd9ab6fc5
meson: More flexible doc handling
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-30 16:00:12 -04:00
Stéphane Graber
fb15f1c0da
meson: Simplify if statements
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-30 16:00:11 -04:00
Stéphane Graber
47c56c50a8
meson: Add manpages
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-27 22:02:38 -04:00
Stéphane Graber
b3d189920a
meson: Add tools option
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-27 22:02:36 -04:00
Stéphane Graber
24dcd86d9a
meson: Re-shuffle PAM
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-27 22:02:35 -04:00
Christian Brauner
8c48813a6c
build: add pam_cgfs to meson
Signed-off-by: Christian Brauner (Microsoft) <christian.brauner@ubuntu.com>
2022-05-19 11:49:48 +02:00
Stéphane Graber
d9121fff7b
meson: Add remaining scripts
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-12 22:24:04 +02:00
Stéphane Graber
51f90ad973
meson: Re-organize dir variables
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-12 22:24:03 +02:00
Stéphane Graber
e4e52844c7
meson: Add init helper scripts
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-12 22:24:02 +02:00
Stéphane Graber
c2931f74c5
meson: Add common configs
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-12 22:24:01 +02:00
Stéphane Graber
7c927048f1
meson: Add SELinux configs
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-12 22:23:59 +02:00
Stéphane Graber
9d18059b8d
meson: Add global config
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-12 22:23:58 +02:00
Stéphane Graber
b3da01d799
meson: Add doc examples
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-07 18:47:12 +02:00
Stéphane Graber
7609de1826
meson: Rework options
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-07 18:47:11 +02:00
Stéphane Graber
181cd6dc51
meson: Use dependencies for pkgconfig
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-02 14:40:42 +02:00
Stéphane Graber
d841229ea5
meson: Bump minimal version
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-02 14:22:25 +02:00
Stéphane Graber
18ad1086fa
meson: Simplify pc handling
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-02 14:22:24 +02:00
Stéphane Graber
4a858b5665
meson: Add bash completion
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-01 12:21:53 +02:00
Stéphane Graber
1404fcb81f
meson: Include the /var paths
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-01 12:05:08 +02:00
Stéphane Graber
6dfabed1fa
meson: Include rootfs dir
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-01 12:05:07 +02:00
Stéphane Graber
0860988ed9
meson: Setup pkgconfig
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-01 11:50:18 +02:00
Stéphane Graber
1a9afaccbf
meson: Include headers
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-01 11:50:17 +02:00
Stéphane Graber
4c7c1431d4
meson: Fix library version
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-01 10:24:34 +02:00
Stéphane Graber
2f1bf5f58b
meson: Fix internal binaries
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-05-01 10:24:32 +02:00
Stéphane Graber
23ba778f9f
meson: Fix unix epoch
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-04-28 22:54:41 -04:00
Stéphane Graber
aa326e18e9
meson: Update run_command calls
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-04-28 22:54:40 -04:00
Stéphane Graber
20b03401be
meson: Cleanup build configs
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2022-04-28 22:17:01 -04:00
Christian Brauner (Microsoft)
2cf04d6695
build: add tests to meson
Signed-off-by: Christian Brauner (Microsoft) <christian.brauner@ubuntu.com>
2022-03-22 08:48:43 +01:00
Christian Brauner
5c9baf458d
build: refuse to compile with unsupported liburing version
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2021-11-04 15:48:54 +01:00
Christian Brauner
5bd35027d3
build: move _FILE_OFFSET_BITS to common option
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2021-11-02 11:14:58 +01:00
Christian Brauner
ea0e384ff5
process_utils: add signal_name() helper
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2021-11-02 10:58:35 +01:00