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 |
|
Christian Brauner
|
752b64325e
|
build: improve liburing support detection
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-10-30 17:54:39 +02:00 |
|
Christian Brauner
|
747bc634c5
|
build: add io-uring-event-loop option
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-10-28 17:07:27 +02:00 |
|
Christian Brauner
|
860ab93303
|
build: add static libcap to output
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-10-28 17:07:14 +02:00 |
|
Christian Brauner
|
ae13cb3b1b
|
build: compiler attribute improvements
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-29 10:17:33 +02:00 |
|
Christian Brauner
|
5c26176d58
|
build: check whether compiler supports nonnull and returns_nonnull attributes
Fixes: #3980
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-28 11:49:26 +02:00 |
|
Christian Brauner
|
7172b98c77
|
build: add templates
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-27 12:39:10 +02:00 |
|
Christian Brauner
|
c597905e2f
|
build: fix remaining HAVE_* generations
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-27 12:22:12 +02:00 |
|
Christian Brauner
|
72f1c44ab2
|
build: add cmd builds
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-27 12:03:04 +02:00 |
|
Christian Brauner
|
659611a36d
|
build: add hooks
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-27 11:39:52 +02:00 |
|
Christian Brauner
|
75e9b2e604
|
build: build hooks directly in their folder
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-27 10:48:29 +02:00 |
|
Christian Brauner
|
db4af8c57e
|
build: improve meson build
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-23 14:05:24 +02:00 |
|
Christian Brauner
|
66d7d50394
|
build: expand default_options
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-16 15:59:49 +02:00 |
|
Christian Brauner
|
d0a16061ae
|
build: add commands
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-16 15:56:56 +02:00 |
|
Christian Brauner
|
26a6b71917
|
build: fix hook program build
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-16 14:45:36 +02:00 |
|
Christian Brauner
|
25dff4d158
|
build: support lto
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-15 10:42:04 +02:00 |
|
Christian Brauner
|
7a7f9a1453
|
build: ensure all relevant calls are checked for availability at build time
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-15 09:08:15 +02:00 |
|
Christian Brauner
|
ea6da2577b
|
build: show more detailed information
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-14 11:01:59 +02:00 |
|
Christian Brauner
|
e282c460af
|
build: record meson version
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-14 10:34:05 +02:00 |
|
Christian Brauner
|
589e116754
|
build: use correct minimal meson version requirement
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-14 10:23:37 +02:00 |
|
Christian Brauner
|
ec5d2163f3
|
build: remove pointless prefixdir validation
Meson will handle this internall and treat a non-absolute path as an
error.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-14 10:03:12 +02:00 |
|
Christian Brauner
|
bf1f3470fd
|
build: set more variables and print summary
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-13 11:21:23 +02:00 |
|
Christian Brauner
|
dcfe4e135d
|
build: add more global config variables
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-13 11:03:34 +02:00 |
|
Christian Brauner
|
455dae78dc
|
build: set diagnostic colours directly in default_options
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-13 10:15:01 +02:00 |
|
Christian Brauner
|
4ad3a929d9
|
build: remove unneeded variables
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-13 10:09:45 +02:00 |
|
Christian Brauner
|
c6ea1dec85
|
build: use common dependencies variable
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-13 10:05:48 +02:00 |
|
Christian Brauner
|
e8ef4deae0
|
build: libdir and bindir are the default for shared libraries and executables
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-13 10:01:46 +02:00 |
|
Christian Brauner
|
4ce4aac494
|
build: set find_library('libcap', require : false)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-13 09:58:44 +02:00 |
|
Christian Brauner
|
305490ba8e
|
build: -fPIC and -shared are handled automatically
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-13 09:57:53 +02:00 |
|
Christian Brauner
|
e4384f1cbb
|
build: use dependency() where possible
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-13 09:54:17 +02:00 |
|
Christian Brauner
|
5e0a302b1e
|
build: set as-needed in default_options
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-13 09:44:32 +02:00 |
|
Christian Brauner
|
98f3b52712
|
build: set pie in default_options
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-13 09:43:29 +02:00 |
|
Christian Brauner
|
297e5f9693
|
build: add tools to meson
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-03 19:06:09 +02:00 |
|
Christian Brauner
|
9b9d56e6e8
|
build: add meson skeleton
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
|
2021-09-03 19:06:09 +02:00 |
|