]>
Commit | Line | Data |
---|---|---|
9b9d56e6 CB |
1 | # -*- mode: meson -*- |
2 | ||
7609de18 | 3 | # Main options |
57f4bd73 | 4 | # was --cgroup-pattern in autotools |
7609de18 SG |
5 | option('cgroup-pattern', type: 'string', value: '', |
6 | description: 'CGroup pattern') | |
9b9d56e6 | 7 | |
57f4bd73 | 8 | # was --coverity-build in autotools |
4dd5e0cf SG |
9 | option('coverity-build', type: 'boolean', value: 'true', |
10 | description: 'build for coverity') | |
11 | ||
57f4bd73 | 12 | # was --{disable,enable}-examples in autotools |
7609de18 SG |
13 | option('examples', type: 'boolean', value: 'true', |
14 | description: 'build and install examples') | |
9b9d56e6 | 15 | |
57f4bd73 | 16 | # was --init-script in autotools |
8131bb44 SG |
17 | option('init-script', type : 'array', |
18 | choices : ['systemd', 'sysvinit', 'upstart'], value : ['systemd'], | |
19 | description : 'init script') | |
9b9d56e6 | 20 | |
57f4bd73 | 21 | # was --{disable,enable}-liburing in autotools |
7609de18 SG |
22 | option('io-uring-event-loop', type: 'boolean', value: 'false', |
23 | description: 'Enable io-uring based event loop') | |
9b9d56e6 | 24 | |
c55353f8 SH |
25 | option('sd-bus', type: 'feature', value: 'auto', |
26 | description: 'Enable linking against sd-bus') | |
27 | ||
57f4bd73 | 28 | # was --{disable,enable}-doc in autotools |
7609de18 SG |
29 | option('man', type: 'boolean', value: 'true', |
30 | description: 'build and install manpages') | |
9b9d56e6 | 31 | |
57f4bd73 | 32 | # was --{disable,enable}-pam in autotools |
54f1ddb3 SG |
33 | option('pam-cgroup', type: 'boolean', value: 'false', |
34 | description: 'build and install the pam cgroup module') | |
35 | ||
57f4bd73 | 36 | # was --{disable,enable}-tools in autotools |
b3d18992 SG |
37 | option('tools', type: 'boolean', value: 'true', |
38 | description: 'build and install tools') | |
39 | ||
f4d02217 PM |
40 | option('tools-multicall', type: 'boolean', value: 'false', |
41 | description: 'build and install busybox style multicall binary') | |
42 | ||
57f4bd73 | 43 | # was --{disable,enable}-commands in autotools |
575d0e34 CB |
44 | option('commands', type: 'boolean', value: 'true', |
45 | description: 'build and install commands') | |
46 | ||
57f4bd73 | 47 | # was --{disable,enable}-capabilities in autotools |
575d0e34 CB |
48 | option('capabilities', type: 'boolean', value: 'true', |
49 | description: 'use capabilities') | |
50 | ||
57f4bd73 | 51 | # was --{disable,enable}-seccomp in autotools |
0b9adfda CB |
52 | option('seccomp', type: 'boolean', value: 'true', |
53 | description: 'use seccomp') | |
54 | ||
57f4bd73 | 55 | # was --{disable,enable}-apparmor in autotools |
575d0e34 CB |
56 | option('apparmor', type: 'boolean', value: 'true', |
57 | description: 'use apparmor') | |
58 | ||
57f4bd73 | 59 | # was --{disable,enable}-openssl in autotools |
575d0e34 CB |
60 | option('openssl', type: 'boolean', value: 'true', |
61 | description: 'use openssl') | |
62 | ||
57f4bd73 | 63 | # was --{disable,enable}-selinux in autotools |
575d0e34 CB |
64 | option('selinux', type: 'boolean', value: 'true', |
65 | description: 'use selinux') | |
66 | ||
57f4bd73 | 67 | # was --{disable,enable}-tests in autotools |
7609de18 SG |
68 | option('tests', type: 'boolean', value: 'false', |
69 | description: 'build and install tests') | |
9b9d56e6 | 70 | |
7609de18 | 71 | # Paths |
57f4bd73 | 72 | # was --apparmor-cache-dir in autotools |
7609de18 SG |
73 | option('apparmor-cache-path', type: 'string', value: 'cache/lxc/apparmor', |
74 | description: 'AppArmor cache directory') | |
9b9d56e6 | 75 | |
57f4bd73 | 76 | # was --with-config-path in autotools |
7609de18 SG |
77 | option('data-path', type: 'string', value: 'lib/lxc', |
78 | description: 'Container storage directory') | |
9b9d56e6 | 79 | |
57f4bd73 | 80 | # was --with-doc-dir in autotools |
7609de18 SG |
81 | option('doc-path', type: 'string', value: 'doc/lxc', |
82 | description: 'Documentation directory') | |
dcfe4e13 | 83 | |
57f4bd73 | 84 | # was --with-global-conf in autotools |
9d18059b SG |
85 | option('global-config-path', type: 'string', value: 'lxc', |
86 | description: 'Global configuration directory') | |
72f1c44a | 87 | |
57f4bd73 | 88 | # was --log-path in autotools |
7609de18 SG |
89 | option('log-path', type: 'string', value: 'log/lxc', |
90 | description: 'Loging directory') | |
72f1c44a | 91 | |
57f4bd73 | 92 | # was --with-rootfs-path in autotools |
7609de18 SG |
93 | option('rootfs-mount-path', type: 'string', value: 'lxc/rootfs', |
94 | description: 'Container rootfs mount directory') | |
747bc634 | 95 | |
57f4bd73 | 96 | # was --with-runtime-path in autotools |
7609de18 SG |
97 | option('runtime-path', type: 'string', value: '/run', |
98 | description: 'Main runtime directory') | |
99 | ||
57f4bd73 | 100 | # was --with-usernic-conf in autotools |
7609de18 SG |
101 | option('usernet-config-path', type: 'string', value: 'lxc/lxc-usernet', |
102 | description: 'User network configuration file path') | |
103 | ||
57f4bd73 | 104 | # was --with-usernic-db in autotools |
7609de18 SG |
105 | option('usernet-db-path', type: 'string', value: 'lxc/nics', |
106 | description: 'User network database file path') | |
d42a3b13 CB |
107 | |
108 | option('oss-fuzz', type : 'boolean', value : 'false', | |
109 | description : 'build against oss-fuzz') | |
0c4549a3 | 110 | |
57f4bd73 | 111 | # was --{disable,enable}-thread-safety in autotools |
0c4549a3 CB |
112 | option('thread-safety', type : 'boolean', value : 'true', |
113 | description : 'whether the build fails when thread-safe logging cannot be guaranteed') | |
493bf2de | 114 | |
57f4bd73 | 115 | # was --{disable,enable}-memfd-rexec in autotools |
493bf2de CB |
116 | option('memfd-rexec', type : 'boolean', value : 'true', |
117 | description : 'whether to rexec the lxc-attach binary when attaching to a container') | |
16ebb29d ĐTCD |
118 | |
119 | option('distrosysconfdir', type : 'string', value: '', | |
120 | description: 'relative path to sysconfdir for distro default configuration') |