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