]>
Commit | Line | Data |
---|---|---|
5c23128d | 1 | # -*- mode: meson -*- |
3a726fcd | 2 | # SPDX-License-Identifier: LGPL-2.1+ |
5c23128d | 3 | |
2675413e ZJS |
4 | option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'], |
5 | description : '''/bin, /sbin aren't symlinks into /usr''') | |
157baa87 ZJS |
6 | option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'], |
7 | description : '''sbin is not a symlink to bin''') | |
5c23128d ZJS |
8 | option('rootlibdir', type : 'string', |
9 | description : '''[/usr]/lib/x86_64-linux-gnu or such''') | |
74344a17 ZJS |
10 | option('rootprefix', type : 'string', |
11 | description : '''override the root prefix''') | |
3a30f21f ZJS |
12 | option('link-udev-shared', type : 'boolean', |
13 | description : 'link systemd-udev and its helpers to libsystemd-shared.so') | |
f3794366 FS |
14 | option('link-systemctl-shared', type: 'boolean', |
15 | description : 'link systemctl against libsystemd-shared.so') | |
70848ecf DC |
16 | option('static-libsystemd', type : 'combo', |
17 | choices : ['false', 'true', 'pic', 'no-pic'], | |
18 | description : '''install a static library for libsystemd''') | |
19 | option('static-libudev', type : 'combo', | |
20 | choices : ['false', 'true', 'pic', 'no-pic'], | |
21 | description : '''install a static library for libudev''') | |
5c23128d ZJS |
22 | |
23 | option('sysvinit-path', type : 'string', value : '/etc/init.d', | |
24 | description : 'the directory where the SysV init scripts are located') | |
25 | option('sysvrcnd-path', type : 'string', value : '/etc/rc.d', | |
26 | description : 'the base directory for SysV rcN.d directories') | |
2fa645f1 MG |
27 | option('telinit-path', type : 'string', value : '/lib/sysvinit/telinit', |
28 | description : 'path to telinit') | |
2a4c156d ZJS |
29 | option('rc-local', type : 'string', |
30 | value : '/etc/rc.local') | |
31 | option('halt-local', type : 'string', | |
32 | value : '/usr/sbin/halt.local') | |
5c23128d ZJS |
33 | |
34 | option('quotaon-path', type : 'string', description : 'path to quotaon') | |
35 | option('quotacheck-path', type : 'string', description : 'path to quotacheck') | |
5c23128d ZJS |
36 | option('kmod-path', type : 'string', description : 'path to kmod') |
37 | option('kexec-path', type : 'string', description : 'path to kexec') | |
38 | option('sulogin-path', type : 'string', description : 'path to sulogin') | |
39 | option('mount-path', type : 'string', description : 'path to mount') | |
40 | option('umount-path', type : 'string', description : 'path to umount') | |
41 | option('loadkeys-path', type : 'string', description : 'path to loadkeys') | |
42 | option('setfont-path', type : 'string', description : 'path to setfont') | |
43 | ||
3131bfe3 ZJS |
44 | option('debug-shell', type : 'string', value : '/bin/sh', |
45 | description : 'path to debug shell binary') | |
46 | option('debug-tty', type : 'string', value : '/dev/tty9', | |
47 | description : 'specify the tty device for debug shell') | |
ad7aa760 YW |
48 | option('debug', type : 'array', choices : ['hashmap', 'mmap-cache'], value : [], |
49 | description : 'enable extra debugging') | |
444d5863 ZJS |
50 | option('memory-accounting-default', type : 'boolean', |
51 | description : 'enable MemoryAccounting= by default') | |
d18cb393 ZJS |
52 | option('valgrind', type : 'boolean', value : false, |
53 | description : 'do extra operations to avoid valgrind warnings') | |
3131bfe3 | 54 | |
5c23128d ZJS |
55 | option('utmp', type : 'boolean', |
56 | description : 'support for utmp/wtmp log handling') | |
57 | option('hibernate', type : 'boolean', | |
58 | description : 'support for hibernation') | |
59 | option('ldconfig', type : 'boolean', | |
60 | description : 'support for dynamic linker cache creation') | |
61 | option('resolve', type : 'boolean', | |
62 | description : 'systemd-resolved stack') | |
63 | option('efi', type : 'boolean', | |
8191c594 | 64 | description : 'enable systemd-boot and bootctl') |
cd4823f6 | 65 | option('tpm', type : 'boolean', |
80c6fce8 | 66 | description : 'TPM should be used to log events and extend the registers') |
5c23128d ZJS |
67 | option('environment-d', type : 'boolean', |
68 | description : 'support for environment.d') | |
69 | option('binfmt', type : 'boolean', | |
70 | description : 'support for custom binary formats') | |
71 | option('coredump', type : 'boolean', | |
72 | description : 'install the coredump handler') | |
73 | option('logind', type : 'boolean', | |
74 | description : 'install the systemd-logind stack') | |
75 | option('hostnamed', type : 'boolean', | |
76 | description : 'install the systemd-hostnamed stack') | |
77 | option('localed', type : 'boolean', | |
78 | description : 'install the systemd-localed stack') | |
79 | option('machined', type : 'boolean', | |
80 | description : 'install the systemd-machined stack') | |
61d0578b LP |
81 | option('portabled', type : 'boolean', |
82 | description : 'install the systemd-portabled stack') | |
5c23128d ZJS |
83 | option('networkd', type : 'boolean', |
84 | description : 'install the systemd-networkd stack') | |
85 | option('timedated', type : 'boolean', | |
86 | description : 'install the systemd-timedated daemon') | |
87 | option('timesyncd', type : 'boolean', | |
88 | description : 'install the systemd-timesyncd daemon') | |
b1519d65 | 89 | option('remote', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d ZJS |
90 | description : 'support for "journal over the network"') |
91 | option('myhostname', type : 'boolean', | |
92 | description : 'nss-myhostname support') | |
93 | option('firstboot', type : 'boolean', | |
94 | description : 'support for firstboot mechanism') | |
95 | option('randomseed', type : 'boolean', | |
96 | description : 'support for restoring random seed') | |
97 | option('backlight', type : 'boolean', | |
98 | description : 'support for restoring backlight state') | |
99 | option('vconsole', type : 'boolean', | |
100 | description : 'support for vconsole configuration') | |
101 | option('quotacheck', type : 'boolean', | |
102 | description : 'support for the quotacheck tools') | |
103 | option('sysusers', type : 'boolean', | |
104 | description : 'support for the sysusers configuration') | |
105 | option('tmpfiles', type : 'boolean', | |
106 | description : 'support for tmpfiles.d') | |
b1519d65 | 107 | option('importd', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d ZJS |
108 | description : 'install the systemd-importd daemon') |
109 | option('hwdb', type : 'boolean', | |
110 | description : 'support for the hardware database') | |
111 | option('rfkill', type : 'boolean', | |
112 | description : 'support for the rfkill tools') | |
4390be30 | 113 | option('man', type : 'combo', choices : ['auto', 'true', 'false'], |
527d43d7 | 114 | description : 'build and install man pages') |
4390be30 ZJS |
115 | option('html', type : 'combo', choices : ['auto', 'true', 'false'], |
116 | value : 'false', | |
527d43d7 | 117 | description : 'build and install html pages') |
5c23128d ZJS |
118 | |
119 | option('certificate-root', type : 'string', value : '/etc/ssl', | |
120 | description : 'the prefix for TLS certificates') | |
121 | option('dbuspolicydir', type : 'string', | |
122 | description : 'D-Bus policy directory') | |
123 | option('dbussessionservicedir', type : 'string', | |
124 | description : 'D-Bus session service directory') | |
125 | option('dbussystemservicedir', type : 'string', | |
126 | description : 'D-Bus system service directory') | |
127 | option('pkgconfigdatadir', type : 'string', value : 'share/pkgconfig', | |
128 | description : 'directory for ') | |
129 | option('pkgconfiglibdir', type : 'string', value : '', | |
130 | description : 'directory for ') | |
131 | option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d', | |
132 | description : 'directory for rpm macros ["no" disables]') | |
133 | option('pamlibdir', type : 'string', | |
134 | description : 'directory for PAM modules') | |
135 | option('pamconfdir', type : 'string', | |
136 | description : 'directory for PAM configuration ["no" disables]') | |
75aaade1 TB |
137 | option('docdir', type : 'string', |
138 | description : 'documentation directory') | |
5c23128d ZJS |
139 | |
140 | option('fallback-hostname', type : 'string', value : 'localhost', | |
141 | description : 'the hostname used if none configured') | |
5248e7e1 ZJS |
142 | option('compat-gateway-hostname', type : 'boolean', value : 'false', |
143 | description : 'allow "gateway" as the symbolic name for default gateway') | |
5c23128d ZJS |
144 | option('default-hierarchy', type : 'combo', |
145 | choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid', | |
146 | description : 'default cgroup hierarchy') | |
147 | option('time-epoch', type : 'string', | |
148 | description : 'time epoch for time clients') | |
149 | option('system-uid-max', type : 'string', | |
150 | description : 'maximum system UID') | |
151 | option('system-gid-max', type : 'string', | |
152 | description : 'maximum system GID') | |
87d5e4f2 LP |
153 | option('dynamic-uid-min', type : 'string', |
154 | description : 'minimum dynamic UID', | |
155 | value : '61184') # That's → 0x0000EF00 in hex | |
156 | option('dynamic-uid-max', type : 'string', | |
157 | description : 'maximum dynamic UID', | |
158 | value : '65519') # That's → 0x0000FFEF in hex | |
159 | option('container-uid-base-min', type : 'string', | |
160 | description : 'minimum container UID base', | |
161 | value : '524288') # That's → 0x00080000 in hex | |
162 | option('container-uid-base-max', type : 'string', | |
163 | description : 'maximum container UID base', | |
164 | value : '1878982656') # That's → 0x6FFF0000 in hex | |
5c23128d ZJS |
165 | option('tty-gid', type : 'string', |
166 | description : 'the numeric GID of the "tty" group', | |
167 | value : '5') | |
84786b8e ID |
168 | option('users-gid', type : 'string', |
169 | description : 'the numeric GID of the "users" group') | |
5c23128d ZJS |
170 | option('adm-group', type : 'boolean', |
171 | description : 'the ACL for adm group should be added') | |
172 | option('wheel-group', type : 'boolean', | |
173 | description : 'the ACL for wheel group should be added') | |
174 | option('nobody-user', type : 'string', | |
175 | description : 'The name of the nobody user (the one with UID 65534)', | |
176 | value : 'nobody') | |
177 | option('nobody-group', type : 'string', | |
178 | description : 'The name of the nobody group (the one with GID 65534)', | |
179 | value : 'nobody') | |
b8fd3d82 | 180 | option('dev-kvm-mode', type : 'string', value : '0666', |
5c23128d | 181 | description : '/dev/kvm access mode') |
4e15a734 TS |
182 | option('group-render-mode', type : 'string', value : '0666', |
183 | description : 'Access mode for devices owned by render group (e.g. /dev/dri/renderD*, /dev/kfd).') | |
5c23128d ZJS |
184 | option('default-kill-user-processes', type : 'boolean', |
185 | description : 'the default value for KillUserProcesses= setting') | |
b14e1b43 FB |
186 | option('gshadow', type : 'boolean', |
187 | description : 'support for shadow group') | |
5c23128d ZJS |
188 | |
189 | option('default-dnssec', type : 'combo', | |
190 | description : 'default DNSSEC mode', | |
191 | choices : ['yes', 'allow-downgrade', 'no'], | |
192 | value : 'allow-downgrade') | |
c9299be2 IT |
193 | option('default-dns-over-tls', type : 'combo', |
194 | description : 'default DNS-over-TLS mode', | |
5d67a7ae IT |
195 | choices : ['opportunistic', 'no'], |
196 | value : 'no') | |
56ddbf10 YW |
197 | option('dns-over-tls', type : 'combo', choices : ['auto', 'true', 'false'], |
198 | description : 'DNS-over-TLS support') | |
5c23128d ZJS |
199 | option('dns-servers', type : 'string', |
200 | description : 'space-separated list of default DNS servers', | |
201 | value : '8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844') | |
202 | option('ntp-servers', type : 'string', | |
203 | description : 'space-separated list of default NTP servers', | |
204 | value : 'time1.google.com time2.google.com time3.google.com time4.google.com') | |
205 | option('support-url', type : 'string', | |
206 | description : 'the support URL to show in catalog entries included in systemd', | |
207 | value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel') | |
f75d75eb ZJS |
208 | option('www-target', type : 'string', |
209 | description : 'the address and dir to upload docs too', | |
210 | value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd') | |
5c23128d | 211 | |
4390be30 | 212 | option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 213 | description : 'SECCOMP support') |
4390be30 | 214 | option('selinux', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 215 | description : 'SELinux support') |
4390be30 | 216 | option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 217 | description : 'AppArmor support') |
5464ec8a | 218 | option('smack', type : 'boolean', |
5c23128d ZJS |
219 | description : 'SMACK support') |
220 | option('smack-run-label', type : 'string', | |
221 | description : 'run systemd --system itself with a specific SMACK label') | |
4390be30 | 222 | option('polkit', type : 'combo', choices : ['auto', 'true', 'false'], |
3ca0cb73 | 223 | description : 'PolicyKit support') |
2895c8ee ZJS |
224 | option('ima', type : 'boolean', |
225 | description : 'IMA support') | |
5c23128d | 226 | |
36f0387e ZJS |
227 | option('acl', type : 'combo', choices : ['auto', 'true', 'false'], |
228 | description : 'libacl support') | |
4390be30 | 229 | option('audit', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 230 | description : 'libaudit support') |
4390be30 | 231 | option('blkid', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 232 | description : 'libblkid support') |
4390be30 | 233 | option('kmod', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 234 | description : 'support for loadable modules') |
4390be30 | 235 | option('pam', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 236 | description : 'PAM support') |
4390be30 | 237 | option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 238 | description : 'libµhttpd support') |
4390be30 | 239 | option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 240 | description : 'libcryptsetup support') |
4390be30 | 241 | option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 242 | description : 'libcurl support') |
d1bf5675 ZJS |
243 | option('idn', type : 'boolean', |
244 | description : 'use IDN when printing host names') | |
87057e24 ZJS |
245 | option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'], |
246 | description : 'libidn2 support') | |
4390be30 | 247 | option('libidn', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 248 | description : 'libidn support') |
e7e11bbf WB |
249 | option('nss-systemd', type : 'boolean', |
250 | description : 'enable nss-systemd') | |
4390be30 | 251 | option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 252 | description : 'libiptc support') |
4390be30 | 253 | option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 254 | description : 'libqrencode support') |
76c87410 MB |
255 | option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'], |
256 | description : 'gcrypt support') | |
4390be30 | 257 | option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 258 | description : 'gnutls support') |
4390be30 | 259 | option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 260 | description : 'elfutils support') |
4390be30 | 261 | option('zlib', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 262 | description : 'zlib compression support') |
4390be30 | 263 | option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 264 | description : 'bzip2 compression support') |
4390be30 | 265 | option('xz', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 266 | description : 'xz compression support') |
4390be30 | 267 | option('lz4', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 268 | description : 'lz4 compression support') |
4390be30 | 269 | option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'], |
1eeb43f5 | 270 | description : 'xkbcommon keymap support') |
c4c978a0 ZJS |
271 | option('pcre2', type : 'combo', choices : ['auto', 'true', 'false'], |
272 | description : 'regexp matching support using pcre2') | |
4390be30 | 273 | option('glib', type : 'combo', choices : ['auto', 'true', 'false'], |
69e96427 | 274 | description : 'libglib support (for tests only)') |
4390be30 | 275 | option('dbus', type : 'combo', choices : ['auto', 'true', 'false'], |
69e96427 | 276 | description : 'libdbus support (for tests only)') |
5c23128d | 277 | |
4390be30 | 278 | option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'], |
b710072d ZJS |
279 | description : 'gnu-efi support for sd-boot') |
280 | option('efi-cc', type : 'string', value : 'gcc', | |
281 | description : 'the compiler to use for EFI modules') | |
282 | option('efi-ld', type : 'string', value : 'ld', | |
283 | description : 'the linker to use for EFI modules') | |
284 | option('efi-libdir', type : 'string', | |
285 | description : 'path to the EFI lib directory') | |
286 | option('efi-ldsdir', type : 'string', | |
287 | description : 'path to the EFI lds directory') | |
288 | option('efi-includedir', type : 'string', value : '/usr/include/efi', | |
289 | description : 'path to the EFI header directory') | |
80c6fce8 ZJS |
290 | option('tpm-pcrindex', type : 'string', value : '8', |
291 | description : 'TPM PCR register number to use') | |
b710072d | 292 | |
5c23128d ZJS |
293 | option('bashcompletiondir', type : 'string', |
294 | description : 'directory for bash completion scripts ["no" disables]') | |
295 | option('zshcompletiondir', type : 'string', | |
296 | description : 'directory for zsh completion scripts ["no" disables]') | |
69e96427 | 297 | |
08318a2c | 298 | option('tests', type : 'combo', choices : ['true', 'unsafe', 'false'], |
69e96427 | 299 | description : 'enable extra tests with =unsafe') |
00d82c81 ZJS |
300 | option('slow-tests', type : 'boolean', value : 'false', |
301 | description : 'run the slow tests by default') | |
572baca1 ZJS |
302 | option('install-tests', type : 'boolean', value : 'false', |
303 | description : 'install test executables') | |
7db7d5b7 | 304 | |
96164a39 AR |
305 | option('ok-color', type: 'combo', |
306 | choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', | |
f7c5427c ZJS |
307 | 'white', 'highlight-black', 'highlight-red', 'highlight-green', |
308 | 'highlight-yellow', 'highlight-blue', 'highlight-magenta', | |
309 | 'highlight-cyan', 'highlight-white'], | |
96164a39 AR |
310 | value : 'green', |
311 | description: 'color of the "OK" status message') | |
312 | ||
7db7d5b7 JR |
313 | option('oss-fuzz', type : 'boolean', value : 'false', |
314 | description : 'build against oss-fuzz') | |
31e57a35 JR |
315 | option('llvm-fuzz', type : 'boolean', value : 'false', |
316 | description : 'build against LLVM libFuzzer') |