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