]> git.ipfire.org Git - thirdparty/systemd.git/blame - meson_options.txt
timedate: handle gracefully if RTC lost time because of power loss
[thirdparty/systemd.git] / meson_options.txt
CommitLineData
5c23128d 1# -*- mode: meson -*-
db9ecf05 2# SPDX-License-Identifier: LGPL-2.1-or-later
5c23128d 3
e1ca734e 4option('version-tag', type : 'string',
3f6ce3d4 5 description : 'set the extended version string (defaults to project version)')
a2b0cd3f
ZJS
6option('shared-lib-tag', type : 'string',
7 description : 'override the private shared library version tag (defaults to project version)')
3f6ce3d4
DDM
8option('vcs-tag', type : 'boolean', value : true,
9 description : 'append current git commit to version output when git information is available')
e1ca734e 10
4c8e5f44 11option('mode', type : 'combo', choices : ['developer', 'release'],
b8ee3493 12 description : 'autoenable features suitable for systemd development/release builds')
839bdf25 13
b0d3095f
LB
14option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'], deprecated: true,
15 description : '''This option is deprecated and will be removed in a future release''')
157baa87
ZJS
16option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'],
17 description : '''sbin is not a symlink to bin''')
b0d3095f
LB
18option('rootlibdir', type : 'string', deprecated: true,
19 description : '''This option is deprecated and will be removed in a future release''')
20option('rootprefix', type : 'string', deprecated: true,
21 description : '''This option is deprecated and will be removed in a future release''')
3a30f21f 22option('link-udev-shared', type : 'boolean',
55710489 23 description : 'link systemd-udevd and its helpers to libsystemd-shared.so')
f3794366
FS
24option('link-systemctl-shared', type: 'boolean',
25 description : 'link systemctl against libsystemd-shared.so')
5ac8b50d
RS
26option('link-networkd-shared', type: 'boolean',
27 description : 'link systemd-networkd and its helpers to libsystemd-shared.so')
fd74a13e
RS
28option('link-timesyncd-shared', type: 'boolean',
29 description : 'link systemd-timesyncd and its helpers to libsystemd-shared.so')
0a0d4899
JH
30option('link-journalctl-shared', type: 'boolean',
31 description : 'link journalctl against libsystemd-shared.so')
79647020
RS
32option('link-boot-shared', type: 'boolean',
33 description : 'link bootctl and systemd-bless-boot against libsystemd-shared.so')
c06d2e44
RS
34option('link-portabled-shared', type: 'boolean',
35 description : 'link systemd-portabled and its helpers to libsystemd-shared.so')
93651582
JL
36option('first-boot-full-preset', type: 'boolean', value: false,
37 description : 'during first boot, do full preset-all (default will be changed to true later)')
79647020 38
70848ecf
DC
39option('static-libsystemd', type : 'combo',
40 choices : ['false', 'true', 'pic', 'no-pic'],
41 description : '''install a static library for libsystemd''')
42option('static-libudev', type : 'combo',
43 choices : ['false', 'true', 'pic', 'no-pic'],
53393c89 44 description : 'install a static library for libudev')
792d5e87 45option('standalone-binaries', type : 'boolean', value : false,
53393c89 46 description : 'also build standalone versions of supported binaries')
5c23128d
ZJS
47
48option('sysvinit-path', type : 'string', value : '/etc/init.d',
49 description : 'the directory where the SysV init scripts are located')
50option('sysvrcnd-path', type : 'string', value : '/etc/rc.d',
51 description : 'the base directory for SysV rcN.d directories')
2a4c156d
ZJS
52option('rc-local', type : 'string',
53 value : '/etc/rc.local')
53393c89 54option('initrd', type : 'boolean',
cdf7ad38 55 description : 'install services for use when running systemd in initrd')
792d5e87 56option('compat-mutable-uid-boundaries', type : 'boolean', value : false,
53393c89 57 description : 'look at uid boundaries in /etc/login.defs for compatibility')
7e0079f9
ZJS
58option('nscd', type : 'boolean',
59 description : 'build support for flushing of the nscd caches')
5c23128d
ZJS
60
61option('quotaon-path', type : 'string', description : 'path to quotaon')
62option('quotacheck-path', type : 'string', description : 'path to quotacheck')
5c23128d
ZJS
63option('kmod-path', type : 'string', description : 'path to kmod')
64option('kexec-path', type : 'string', description : 'path to kexec')
65option('sulogin-path', type : 'string', description : 'path to sulogin')
66option('mount-path', type : 'string', description : 'path to mount')
67option('umount-path', type : 'string', description : 'path to umount')
68option('loadkeys-path', type : 'string', description : 'path to loadkeys')
69option('setfont-path', type : 'string', description : 'path to setfont')
6db90462 70option('nologin-path', type : 'string', description : 'path to nologin')
5c23128d 71
5656c593 72option('debug-shell', type : 'string', value : '/bin/sh',
3131bfe3
ZJS
73 description : 'path to debug shell binary')
74option('debug-tty', type : 'string', value : '/dev/tty9',
75 description : 'specify the tty device for debug shell')
6c092dbe 76option('debug-extra', type : 'array', choices : ['hashmap', 'mmap-cache', 'siphash'], value : [],
ad7aa760 77 description : 'enable extra debugging')
444d5863
ZJS
78option('memory-accounting-default', type : 'boolean',
79 description : 'enable MemoryAccounting= by default')
a8b627aa 80option('bump-proc-sys-fs-file-max', type : 'boolean',
168561f2 81 description : 'bump /proc/sys/fs/file-max to LONG_MAX')
a8b627aa
LP
82option('bump-proc-sys-fs-nr-open', type : 'boolean',
83 description : 'bump /proc/sys/fs/nr_open to INT_MAX')
fd5dec9a
ZJS
84option('log-trace', type : 'boolean', value : false,
85 description : 'enable low level debug logging')
3602ca6f
ZJS
86option('user-path', type : 'string',
87 description : '$PATH to use for user sessions')
3131bfe3 88
5c23128d
ZJS
89option('utmp', type : 'boolean',
90 description : 'support for utmp/wtmp log handling')
91option('hibernate', type : 'boolean',
92 description : 'support for hibernation')
93option('ldconfig', type : 'boolean',
94 description : 'support for dynamic linker cache creation')
95option('resolve', type : 'boolean',
96 description : 'systemd-resolved stack')
97option('efi', type : 'boolean',
dfca5587 98 description : 'enable EFI support')
cd4823f6 99option('tpm', type : 'boolean',
80c6fce8 100 description : 'TPM should be used to log events and extend the registers')
5c23128d
ZJS
101option('environment-d', type : 'boolean',
102 description : 'support for environment.d')
103option('binfmt', type : 'boolean',
104 description : 'support for custom binary formats')
40e9c4e4 105option('repart', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
e594a3b1 106 description : 'install the systemd-repart tool')
40e9c4e4 107option('sysupdate', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
43cc7a3e 108 description : 'install the systemd-sysupdate tool')
5c23128d
ZJS
109option('coredump', type : 'boolean',
110 description : 'install the coredump handler')
9b4abc69
ED
111option('pstore', type : 'boolean',
112 description : 'install the pstore archival tool')
ea8b9b2f 113option('oomd', type : 'boolean',
61ff7397 114 description : 'install the userspace oom killer')
5c23128d
ZJS
115option('logind', type : 'boolean',
116 description : 'install the systemd-logind stack')
117option('hostnamed', type : 'boolean',
118 description : 'install the systemd-hostnamed stack')
119option('localed', type : 'boolean',
120 description : 'install the systemd-localed stack')
121option('machined', type : 'boolean',
122 description : 'install the systemd-machined stack')
61d0578b
LP
123option('portabled', type : 'boolean',
124 description : 'install the systemd-portabled stack')
9bca4ae4
LP
125option('sysext', type : 'boolean',
126 description : 'install the systemd-sysext stack')
702a52f4
LP
127option('mountfsd', type : 'boolean',
128 description : 'install the systemd-mountfsd stack')
d093b62c
LP
129option('userdb', type : 'boolean',
130 description : 'install the systemd-userdbd stack')
40e9c4e4 131option('homed', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
70a5db58 132 description : 'install the systemd-homed stack')
5c23128d
ZJS
133option('networkd', type : 'boolean',
134 description : 'install the systemd-networkd stack')
35dbb8b0 135option('default-network', type : 'boolean', value : false,
9b7a6242 136 description : 'install default .network files')
5c23128d
ZJS
137option('timedated', type : 'boolean',
138 description : 'install the systemd-timedated daemon')
139option('timesyncd', type : 'boolean',
140 description : 'install the systemd-timesyncd daemon')
1e73a64a 141option('remote', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 142 description : 'support for "journal over the network"')
6ed5ef98
ZJS
143option('create-log-dirs', type : 'boolean',
144 description : 'create /var/log/journal{,/remote}')
8aee931e
LP
145option('nsresourced', type : 'boolean',
146 description : 'install the systemd-nsresourced stack')
08540a95
YW
147option('nss-myhostname', type : 'boolean',
148 description : 'install nss-myhostname module')
1e73a64a 149option('nss-mymachines', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
08540a95 150 description : 'install nss-mymachines module')
1e73a64a 151option('nss-resolve', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
08540a95
YW
152 description : 'install nss-resolve module')
153option('nss-systemd', type : 'boolean',
154 description : 'install nss-systemd module')
5c23128d
ZJS
155option('firstboot', type : 'boolean',
156 description : 'support for firstboot mechanism')
157option('randomseed', type : 'boolean',
158 description : 'support for restoring random seed')
159option('backlight', type : 'boolean',
160 description : 'support for restoring backlight state')
161option('vconsole', type : 'boolean',
162 description : 'support for vconsole configuration')
2b84d628 163option('vmspawn', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
9de3cc14 164 description : 'install the systemd-vmspawn tool')
5c23128d
ZJS
165option('quotacheck', type : 'boolean',
166 description : 'support for the quotacheck tools')
167option('sysusers', type : 'boolean',
168 description : 'support for the sysusers configuration')
1761066b
LP
169option('storagetm', type : 'boolean',
170 description : 'support for Storage Target Mode')
5c23128d
ZJS
171option('tmpfiles', type : 'boolean',
172 description : 'support for tmpfiles.d')
40e9c4e4 173option('importd', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d
ZJS
174 description : 'install the systemd-importd daemon')
175option('hwdb', type : 'boolean',
176 description : 'support for the hardware database')
177option('rfkill', type : 'boolean',
178 description : 'support for the rfkill tools')
8feca247
BB
179option('xdg-autostart', type : 'boolean',
180 description : 'install the xdg-autostart-generator and unit')
1e73a64a
JJ
181option('man', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
182 value : 'disabled',
527d43d7 183 description : 'build and install man pages')
1e73a64a
JJ
184option('html', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
185 value : 'disabled',
527d43d7 186 description : 'build and install html pages')
8c979cfa
DDM
187option('translations', type : 'boolean', value : true,
188 description : 'build and install translations')
5c23128d
ZJS
189
190option('certificate-root', type : 'string', value : '/etc/ssl',
191 description : 'the prefix for TLS certificates')
192option('dbuspolicydir', type : 'string',
193 description : 'D-Bus policy directory')
194option('dbussessionservicedir', type : 'string',
195 description : 'D-Bus session service directory')
196option('dbussystemservicedir', type : 'string',
197 description : 'D-Bus system service directory')
320848a6
YW
198option('dbus-interfaces-dir', type : 'string',
199 description : 'export D-Bus introspection XML as standalone files')
e4c7b5f5
ZJS
200option('default-timeout-sec', type : 'integer', value : 90,
201 description : 'default timeout for system unit start/stop')
202option('default-user-timeout-sec', type : 'integer', value : 90,
203 description : 'default timeout for user unit start/stop')
a95696e3 204option('pkgconfigdatadir', type : 'string', value : '',
f62b08dd 205 description : 'directory for arch-independent pkg-config files')
5c23128d 206option('pkgconfiglibdir', type : 'string', value : '',
f62b08dd 207 description : 'directory for standard pkg-config files')
e6263674
FB
208option('xinitrcdir', type : 'string', value : '',
209 description : 'directory for xinitrc files')
5c23128d
ZJS
210option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d',
211 description : 'directory for rpm macros ["no" disables]')
e4c7b5f5
ZJS
212option('update-helper-user-timeout-sec', type : 'integer', value : 15,
213 description : 'timeout for user manager package operations')
5c23128d
ZJS
214option('pamlibdir', type : 'string',
215 description : 'directory for PAM modules')
216option('pamconfdir', type : 'string',
217 description : 'directory for PAM configuration ["no" disables]')
0abd510f
LP
218option('sshconfdir', type : 'string',
219 description : 'directory for SSH client configuration ["no" disables]')
7e360799
LP
220option('sshdconfdir', type : 'string',
221 description : 'directory for SSH server configuration ["no" disables]')
5360b10f
LP
222option('sshdprivsepdir', type : 'string',
223 description : 'directory for SSH privilege separation ["no" disables]', value : '/run/sshd')
d1ae38d8
OK
224option('libcryptsetup-plugins-dir', type : 'string',
225 description : 'directory for libcryptsetup plugins')
75aaade1
TB
226option('docdir', type : 'string',
227 description : 'documentation directory')
225d08b8 228option('install-sysconfdir', type : 'combo', choices : ['true', 'no-samples', 'false'], value : 'true',
6495361c
FB
229 description : 'install configuration files and directories')
230option('configfiledir', type : 'string', value : '',
231 description : 'directory for configuration files')
5c23128d
ZJS
232
233option('fallback-hostname', type : 'string', value : 'localhost',
234 description : 'the hostname used if none configured')
235option('default-hierarchy', type : 'combo',
31323f21
MY
236 choices : ['legacy', 'hybrid', 'unified'], deprecated : true,
237 description : '''This option is deprecated and will be removed in a future release''')
681cb84a 238option('extra-net-naming-schemes', type : 'string',
78266a54 239 description : 'comma-separated list of extra net.naming_scheme= definitions')
77faadfd 240option('default-net-naming-scheme', type : 'string', value : 'latest',
78266a54 241 description : 'default net.naming_scheme= value')
36cf4507 242option('status-unit-format-default', type : 'combo',
819c0dcb 243 choices : ['auto', 'description', 'name', 'combined'],
36cf4507 244 description : 'use unit name or description in messages by default')
a36be3e5 245option('time-epoch', type : 'integer', value : 0,
5c23128d 246 description : 'time epoch for time clients')
792d5e87 247option('clock-valid-range-usec-max', type : 'integer', value : 473364000000000, # 15 years
2306b465 248 description : 'maximum value in microseconds for the difference between RTC and epoch, exceeding which is considered an RTC error ["0" disables]')
5656c593 249option('default-user-shell', type : 'string', value : '/bin/bash',
53350c7b 250 description : 'default interactive shell')
9a797ddc 251
a36be3e5 252option('system-alloc-uid-min', type : 'integer', value : 0,
fc1a5d1a 253 description : 'minimum system UID used when allocating')
a36be3e5 254option('system-alloc-gid-min', type : 'integer', value : 0,
fc1a5d1a 255 description : 'minimum system GID used when allocating')
a36be3e5 256option('system-uid-max', type : 'integer', value : 0,
5c23128d 257 description : 'maximum system UID')
a36be3e5 258option('system-gid-max', type : 'integer', value : 0,
5c23128d 259 description : 'maximum system GID')
ac09340e
YW
260option('dynamic-uid-min', type : 'integer', value : 0x0000EF00,
261 description : 'minimum dynamic UID')
262option('dynamic-uid-max', type : 'integer', value : 0x0000FFEF,
263 description : 'maximum dynamic UID')
264option('container-uid-base-min', type : 'integer', value : 0x00080000,
265 description : 'minimum container UID base')
266option('container-uid-base-max', type : 'integer', value : 0x6FFF0000,
267 description : 'maximum container UID base')
5c23128d
ZJS
268option('adm-group', type : 'boolean',
269 description : 'the ACL for adm group should be added')
270option('wheel-group', type : 'boolean',
271 description : 'the ACL for wheel group should be added')
272option('nobody-user', type : 'string',
273 description : 'The name of the nobody user (the one with UID 65534)',
274 value : 'nobody')
275option('nobody-group', type : 'string',
276 description : 'The name of the nobody group (the one with GID 65534)',
277 value : 'nobody')
a36be3e5 278option('adm-gid', type : 'integer', value : 0,
9a797ddc 279 description : 'soft-static allocation for the "adm" group')
a36be3e5 280option('audio-gid', type : 'integer', value : 0,
9a797ddc 281 description : 'soft-static allocation for the "audio" group')
a36be3e5 282option('cdrom-gid', type : 'integer', value : 0,
9a797ddc 283 description : 'soft-static allocation for the "cdrom" group')
a36be3e5 284option('dialout-gid', type : 'integer', value : 0,
9a797ddc 285 description : 'soft-static allocation for the "dialout" group')
a36be3e5 286option('disk-gid', type : 'integer', value : 0,
9a797ddc 287 description : 'soft-static allocation for the "disk" group')
a36be3e5 288option('input-gid', type : 'integer', value : 0,
9a797ddc 289 description : 'soft-static allocation for the "input" group')
a36be3e5 290option('kmem-gid', type : 'integer', value : 0,
9a797ddc 291 description : 'soft-static allocation for the "kmem" group')
a36be3e5 292option('kvm-gid', type : 'integer', value : 0,
9a797ddc 293 description : 'soft-static allocation for the "kvm" group')
a36be3e5 294option('lp-gid', type : 'integer', value : 0,
9a797ddc 295 description : 'soft-static allocation for the "lp" group')
a36be3e5 296option('render-gid', type : 'integer', value : 0,
9a797ddc 297 description : 'soft-static allocation for the "render" group')
a36be3e5 298option('sgx-gid', type : 'integer', value : 0,
9a797ddc 299 description : 'soft-static allocation for the "sgx" group')
a36be3e5 300option('tape-gid', type : 'integer', value : 0,
9a797ddc
ZJS
301 description : 'soft-static allocation for the "tape" group')
302option('tty-gid', type : 'integer', value : 5,
303 description : 'the numeric GID of the "tty" group')
a36be3e5 304option('users-gid', type : 'integer', value : 0,
9a797ddc 305 description : 'soft-static allocation for the "users" group')
a36be3e5 306option('utmp-gid', type : 'integer', value : 0,
9a797ddc 307 description : 'soft-static allocation for the "utmp" group')
a36be3e5 308option('video-gid', type : 'integer', value : 0,
9a797ddc 309 description : 'soft-static allocation for the "video" group')
a36be3e5 310option('wheel-gid', type : 'integer', value : 0,
9a797ddc 311 description : 'soft-static allocation for the "wheel" group')
a36be3e5 312option('systemd-journal-gid', type : 'integer', value : 0,
9a797ddc 313 description : 'soft-static allocation for the systemd-journal group')
a36be3e5 314option('systemd-network-uid', type : 'integer', value : 0,
9a797ddc 315 description : 'soft-static allocation for the systemd-network user')
a36be3e5 316option('systemd-resolve-uid', type : 'integer', value : 0,
9a797ddc 317 description : 'soft-static allocation for the systemd-resolve user')
a36be3e5 318option('systemd-timesync-uid', type : 'integer', value : 0,
9a797ddc
ZJS
319 description : 'soft-static allocation for the systemd-timesync user')
320
b8fd3d82 321option('dev-kvm-mode', type : 'string', value : '0666',
5c23128d 322 description : '/dev/kvm access mode')
4e15a734
TS
323option('group-render-mode', type : 'string', value : '0666',
324 description : 'Access mode for devices owned by render group (e.g. /dev/dri/renderD*, /dev/kfd).')
5c23128d
ZJS
325option('default-kill-user-processes', type : 'boolean',
326 description : 'the default value for KillUserProcesses= setting')
b14e1b43
FB
327option('gshadow', type : 'boolean',
328 description : 'support for shadow group')
c9bd01ae 329option('default-locale', type : 'string', value : 'C.UTF-8',
8ca9e92c 330 description : 'default locale used when /etc/locale.conf does not exist')
a22f5186
DDM
331option('nspawn-locale', type : 'string', value : 'C.UTF-8',
332 description : 'default locale used by systemd-nspawn when executing commands in a container')
f129d0e7
MY
333option('default-keymap', type : 'string', value : 'us',
334 description : 'default keymap used when populating /etc/vconsole.conf')
8f20232f
MK
335option('localegen-path', type : 'string', value : '',
336 description : 'absolute path to the locale-gen binary in case the system is using locale-gen')
21d0dd5a
ZJS
337option('service-watchdog', type : 'string', value : '3min',
338 description : 'default watchdog setting for systemd services')
5c23128d
ZJS
339
340option('default-dnssec', type : 'combo',
341 description : 'default DNSSEC mode',
342 choices : ['yes', 'allow-downgrade', 'no'],
343 value : 'allow-downgrade')
c9299be2
IT
344option('default-dns-over-tls', type : 'combo',
345 description : 'default DNS-over-TLS mode',
4310bfc2 346 choices : ['yes', 'opportunistic', 'no'],
5d67a7ae 347 value : 'no')
3614df05
ZJS
348option('default-mdns', type : 'combo',
349 choices : ['yes', 'resolve', 'no'],
350 description : 'default MulticastDNS mode',
351 value : 'yes')
352option('default-llmnr', type : 'combo',
353 choices : ['yes', 'resolve', 'no'],
354 description : 'default LLMNR mode',
355 value : 'yes')
096cbdce 356option('dns-over-tls', type : 'combo', choices : ['auto', 'gnutls', 'openssl', 'true', 'false'],
56ddbf10 357 description : 'DNS-over-TLS support')
5c23128d
ZJS
358option('dns-servers', type : 'string',
359 description : 'space-separated list of default DNS servers',
a83ddc08 360 value : '1.1.1.1#cloudflare-dns.com 8.8.8.8#dns.google 1.0.0.1#cloudflare-dns.com 8.8.4.4#dns.google 2606:4700:4700::1111#cloudflare-dns.com 2001:4860:4860::8888#dns.google 2606:4700:4700::1001#cloudflare-dns.com 2001:4860:4860::8844#dns.google')
5c23128d
ZJS
361option('ntp-servers', type : 'string',
362 description : 'space-separated list of default NTP servers',
363 value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
364option('support-url', type : 'string',
365 description : 'the support URL to show in catalog entries included in systemd',
366 value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
f75d75eb
ZJS
367option('www-target', type : 'string',
368 description : 'the address and dir to upload docs too',
369 value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd')
5c23128d 370
43abc59a 371option('seccomp', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 372 description : 'SECCOMP support')
43abc59a 373option('selinux', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 374 description : 'SELinux support')
43abc59a 375option('apparmor', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 376 description : 'AppArmor support')
5464ec8a 377option('smack', type : 'boolean',
5c23128d
ZJS
378 description : 'SMACK support')
379option('smack-run-label', type : 'string',
380 description : 'run systemd --system itself with a specific SMACK label')
aa5ae971
ŁS
381option('smack-default-process-label', type : 'string',
382 description : 'default SMACK label for executed processes')
a0c9ac9a 383option('polkit', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
d35f51ea 384 description : 'polkit support')
2895c8ee
ZJS
385option('ima', type : 'boolean',
386 description : 'IMA support')
5c23128d 387
43abc59a 388option('acl', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
36f0387e 389 description : 'libacl support')
43abc59a 390option('audit', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 391 description : 'libaudit support')
43abc59a 392option('blkid', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 393 description : 'libblkid support')
9ee80846 394option('fdisk', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
e594a3b1 395 description : 'libfdisk support')
43abc59a 396option('kmod', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 397 description : 'support for loadable modules')
43abc59a 398option('xenctrl', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
ede5a78f 399 description : 'support for Xen kexec')
a0c9ac9a 400option('pam', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 401 description : 'PAM support')
1e73a64a 402option('passwdqc', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
1d8aae43 403 description : 'libpasswdqc support')
1e73a64a 404option('pwquality', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
70a5db58 405 description : 'libpwquality support')
43abc59a 406option('microhttpd', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 407 description : 'libµhttpd support')
1e73a64a 408option('libcryptsetup', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 409 description : 'libcryptsetup support')
1e73a64a 410option('libcryptsetup-plugins', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
d1ae38d8 411 description : 'libcryptsetup LUKS2 external token handlers support (plugins)')
43abc59a 412option('libcurl', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 413 description : 'libcurl support')
d1bf5675 414option('idn', type : 'boolean',
38b38500 415 description : 'use IDN when printing hostnames')
1e73a64a 416option('libidn2', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
87057e24 417 description : 'libidn2 support')
1e73a64a 418option('libidn', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 419 description : 'libidn support')
43abc59a 420option('libiptc', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 421 description : 'libiptc support')
43abc59a 422option('qrencode', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 423 description : 'libqrencode support')
a0c9ac9a 424option('gcrypt', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
76c87410 425 description : 'gcrypt support')
43abc59a 426option('gnutls', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 427 description : 'gnutls support')
43abc59a 428option('openssl', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
096cbdce 429 description : 'openssl support')
57633d23
ZJS
430option('cryptolib', type : 'combo', choices : ['auto', 'openssl', 'gcrypt'],
431 description : 'whether to use openssl or gcrypt where both are supported')
43abc59a 432option('p11kit', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
839fddbe 433 description : 'p11kit support')
40e9c4e4 434option('libfido2', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
af4fbd46 435 description : 'FIDO2 support')
43abc59a 436option('tpm2', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5e521624 437 description : 'TPM2 support')
43abc59a 438option('elfutils', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 439 description : 'elfutils support')
43abc59a 440option('zlib', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 441 description : 'zlib compression support')
a0c9ac9a 442option('bzip2', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 443 description : 'bzip2 compression support')
43abc59a 444option('xz', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 445 description : 'xz compression support')
43abc59a 446option('lz4', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
5c23128d 447 description : 'lz4 compression support')
43abc59a 448option('zstd', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
ef5924aa 449 description : 'zstd compression support')
cd3c6322
LB
450option('default-compression', type : 'combo', choices : ['auto', 'zstd', 'lz4', 'xz'], value: 'auto',
451 description : 'default compression algorithm')
43abc59a 452option('xkbcommon', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
1eeb43f5 453 description : 'xkbcommon keymap support')
43abc59a 454option('pcre2', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
c4c978a0 455 description : 'regexp matching support using pcre2')
43abc59a 456option('glib', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
69e96427 457 description : 'libglib support (for tests only)')
101b5943 458option('dbus', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
69e96427 459 description : 'libdbus support (for tests only)')
b68f4cad
LP
460option('libarchive', type : 'feature',
461 description : 'libarchive support')
5c23128d 462
40e9c4e4 463option('bootloader', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
dfca5587 464 description : 'sd-boot/stub and userspace tools')
252b6b1b 465option('sbat-distro', type : 'string', value : 'auto',
9137c03c
DJL
466 description : 'SBAT distribution ID, e.g. fedora, or auto for autodetection')
467option('sbat-distro-generation', type : 'integer', value : 1,
468 description : 'SBAT distribution generation')
469option('sbat-distro-summary', type : 'string',
470 description : 'SBAT distribution summary, e.g. Fedora')
471option('sbat-distro-pkgname', type : 'string',
472 description : 'SBAT distribution package name, e.g. systemd')
473option('sbat-distro-version', type : 'string',
474 description : 'SBAT distribution package version, e.g. 248-7.fc34')
475option('sbat-distro-url', type : 'string',
476 description : 'SBAT distribution URL, e.g. https://src.fedoraproject.org/rpms/systemd')
e313e934
JJ
477option('efi-color-normal', type : 'string', value : 'lightgray,black',
478 description : 'general boot loader color in "foreground,background" form, see constants from eficon.h')
479option('efi-color-entry', type : 'string', value : 'lightgray,black',
480 description : 'boot loader color for entries')
481option('efi-color-highlight', type : 'string', value : 'black,lightgray',
482 description : 'boot loader color for selected entries')
2e65d610 483option('efi-color-edit', type : 'string', value : 'black,lightgray',
e313e934 484 description : 'boot loader color for option line edit')
b710072d 485
5c23128d
ZJS
486option('bashcompletiondir', type : 'string',
487 description : 'directory for bash completion scripts ["no" disables]')
488option('zshcompletiondir', type : 'string',
489 description : 'directory for zsh completion scripts ["no" disables]')
69e96427 490
08318a2c 491option('tests', type : 'combo', choices : ['true', 'unsafe', 'false'],
69e96427 492 description : 'enable extra tests with =unsafe')
792d5e87 493option('slow-tests', type : 'boolean', value : false,
00d82c81 494 description : 'run the slow tests by default')
792d5e87 495option('fuzz-tests', type : 'boolean', value : false,
f78ad5f0 496 description : 'run the fuzzer regression tests by default (with sanitizers)')
792d5e87 497option('install-tests', type : 'boolean', value : false,
572baca1 498 description : 'install test executables')
1e73a64a 499option('log-message-verification', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
b9ce5cf9 500 description : 'do fake printf() calls to verify format strings')
945b722f
RM
501option('integration-tests', type : 'boolean', value : false,
502 description : 'run the integration tests')
7db7d5b7 503
ceedbf81 504option('ok-color', type : 'combo',
96164a39 505 choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan',
f7c5427c
ZJS
506 'white', 'highlight-black', 'highlight-red', 'highlight-green',
507 'highlight-yellow', 'highlight-blue', 'highlight-magenta',
508 'highlight-cyan', 'highlight-white'],
96164a39
AR
509 value : 'green',
510 description: 'color of the "OK" status message')
792d5e87 511option('urlify', type : 'boolean', value : true,
e5d86ebe 512 description : 'enable pager Hyperlink ANSI sequence support')
792d5e87 513option('fexecve', type : 'boolean', value : false,
ceedbf81 514 description : 'use fexecve() to spawn children')
96164a39 515
792d5e87 516option('oss-fuzz', type : 'boolean', value : false,
7db7d5b7 517 description : 'build against oss-fuzz')
792d5e87 518option('llvm-fuzz', type : 'boolean', value : false,
31e57a35 519 description : 'build against LLVM libFuzzer')
792d5e87 520option('kernel-install', type: 'boolean', value: true,
f30bf4d9 521 description : 'install kernel-install and associated files')
40e9c4e4 522option('ukify', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
30ec2eae 523 description : 'install ukify')
792d5e87 524option('analyze', type: 'boolean', value: true,
f30bf4d9 525 description : 'install systemd-analyze')
7d861e12 526
76abad4d 527option('bpf-compiler', type : 'combo', choices : ['clang', 'gcc'],
59342868 528 description : 'compiler used to build BPF programs')
847e5585 529option('bpf-framework', type : 'feature', deprecated : { 'true' : 'enabled', 'false' : 'disabled' },
59342868
LP
530 description : 'build BPF programs from source code in restricted C')
531option('vmlinux-h', type : 'combo', choices : ['auto', 'provided', 'generated', 'disabled'],
532 description : 'which vmlinux.h to use')
533option('vmlinux-h-path', type : 'string', value : '',
534 description : 'path to vmlinux.h to use')
702a52f4
LP
535
536option('default-mountfsd-trusted-directories', type : 'boolean', value: false,
537 description : 'controls whether mountfsd should apply a relaxed policy on DDIs in system DDI directories')