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