]> git.proxmox.com Git - systemd.git/blame - meson_options.txt
bump version to 252.11-pve1
[systemd.git] / meson_options.txt
CommitLineData
81c58355 1# -*- mode: meson -*-
a032b68d 2# SPDX-License-Identifier: LGPL-2.1-or-later
81c58355 3
7c20daf6
FS
4option('version-tag', type : 'string',
5 description : 'override the git version string')
f5caa8fa
MB
6option('shared-lib-tag', type : 'string',
7 description : 'override the private shared library version tag (defaults to project version)')
7c20daf6 8
a032b68d
MB
9option('mode', type : 'combo', choices : ['developer', 'release'],
10 description : 'autoenable features suitable for systemd development/release builds')
11
98393f85
MB
12option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'],
13 description : '''/bin, /sbin aren't symlinks into /usr''')
14option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'],
15 description : '''sbin is not a symlink to bin''')
81c58355
MB
16option('rootlibdir', type : 'string',
17 description : '''[/usr]/lib/x86_64-linux-gnu or such''')
18option('rootprefix', type : 'string',
bb4f798a 19 description : '''override the root prefix [default '/' if split-usr and '/usr' otherwise]''')
81c58355 20option('link-udev-shared', type : 'boolean',
ecfb185f 21 description : 'link systemd-udevd and its helpers to libsystemd-shared.so')
b012e921
MB
22option('link-systemctl-shared', type: 'boolean',
23 description : 'link systemctl against libsystemd-shared.so')
46cdbd49
BR
24option('link-networkd-shared', type: 'boolean',
25 description : 'link systemd-networkd and its helpers to libsystemd-shared.so')
26option('link-timesyncd-shared', type: 'boolean',
27 description : 'link systemd-timesyncd and its helpers to libsystemd-shared.so')
086111aa
LB
28option('link-journalctl-shared', type: 'boolean',
29 description : 'link journalctl against libsystemd-shared.so')
ea0999c9
MB
30option('link-boot-shared', type: 'boolean',
31 description : 'link bootctl and systemd-bless-boot against libsystemd-shared.so')
d9f5095a
MB
32option('first-boot-full-preset', type: 'boolean', value: false,
33 description : 'during first boot, do full preset-all (default will be changed to true later)')
ea0999c9 34
b012e921
MB
35option('static-libsystemd', type : 'combo',
36 choices : ['false', 'true', 'pic', 'no-pic'],
37 description : '''install a static library for libsystemd''')
38option('static-libudev', type : 'combo',
39 choices : ['false', 'true', 'pic', 'no-pic'],
a032b68d 40 description : 'install a static library for libudev')
086111aa 41option('standalone-binaries', type : 'boolean', value : false,
a032b68d 42 description : 'also build standalone versions of supported binaries')
81c58355
MB
43
44option('sysvinit-path', type : 'string', value : '/etc/init.d',
45 description : 'the directory where the SysV init scripts are located')
46option('sysvrcnd-path', type : 'string', value : '/etc/rc.d',
47 description : 'the base directory for SysV rcN.d directories')
1d42b86d
MB
48option('telinit-path', type : 'string', value : '/lib/sysvinit/telinit',
49 description : 'path to telinit')
81c58355
MB
50option('rc-local', type : 'string',
51 value : '/etc/rc.local')
a032b68d 52option('initrd', type : 'boolean',
a10f5d05 53 description : 'install services for use when running systemd in initrd')
086111aa 54option('compat-mutable-uid-boundaries', type : 'boolean', value : false,
a032b68d 55 description : 'look at uid boundaries in /etc/login.defs for compatibility')
3a6ce677
BR
56option('nscd', type : 'boolean',
57 description : 'build support for flushing of the nscd caches')
81c58355
MB
58
59option('quotaon-path', type : 'string', description : 'path to quotaon')
60option('quotacheck-path', type : 'string', description : 'path to quotacheck')
81c58355
MB
61option('kmod-path', type : 'string', description : 'path to kmod')
62option('kexec-path', type : 'string', description : 'path to kexec')
63option('sulogin-path', type : 'string', description : 'path to sulogin')
64option('mount-path', type : 'string', description : 'path to mount')
65option('umount-path', type : 'string', description : 'path to umount')
66option('loadkeys-path', type : 'string', description : 'path to loadkeys')
67option('setfont-path', type : 'string', description : 'path to setfont')
f2dec872 68option('nologin-path', type : 'string', description : 'path to nologin')
81c58355
MB
69
70option('debug-shell', type : 'string', value : '/bin/sh',
71 description : 'path to debug shell binary')
72option('debug-tty', type : 'string', value : '/dev/tty9',
73 description : 'specify the tty device for debug shell')
f2dec872 74option('debug-extra', type : 'array', choices : ['hashmap', 'mmap-cache', 'siphash'], value : [],
b012e921 75 description : 'enable extra debugging')
98393f85
MB
76option('memory-accounting-default', type : 'boolean',
77 description : 'enable MemoryAccounting= by default')
6e866b33 78option('bump-proc-sys-fs-file-max', type : 'boolean',
478ed938 79 description : 'bump /proc/sys/fs/file-max to LONG_MAX')
6e866b33
MB
80option('bump-proc-sys-fs-nr-open', type : 'boolean',
81 description : 'bump /proc/sys/fs/nr_open to INT_MAX')
b012e921
MB
82option('valgrind', type : 'boolean', value : false,
83 description : 'do extra operations to avoid valgrind warnings')
6e866b33
MB
84option('log-trace', type : 'boolean', value : false,
85 description : 'enable low level debug logging')
e1f67bc7
MB
86option('user-path', type : 'string',
87 description : '$PATH to use for user sessions')
81c58355
MB
88
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',
98 description : 'enable systemd-boot and bootctl')
f5e65279 99option('tpm', type : 'boolean',
81c58355
MB
100 description : 'TPM should be used to log events and extend the registers')
101option('environment-d', type : 'boolean',
102 description : 'support for environment.d')
103option('binfmt', type : 'boolean',
104 description : 'support for custom binary formats')
46cdbd49
BR
105option('repart', type : 'combo', choices : ['auto', 'true', 'false'],
106 description : 'install the systemd-repart tool')
f5caa8fa
MB
107option('sysupdate', type : 'combo', choices : ['auto', 'true', 'false'],
108 description : 'install the systemd-sysupdate tool')
81c58355
MB
109option('coredump', type : 'boolean',
110 description : 'install the coredump handler')
f2dec872
BR
111option('pstore', type : 'boolean',
112 description : 'install the pstore archival tool')
3a6ce677 113option('oomd', type : 'boolean',
a032b68d 114 description : 'install the userspace oom killer')
81c58355
MB
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')
b012e921
MB
123option('portabled', type : 'boolean',
124 description : 'install the systemd-portabled stack')
3a6ce677
BR
125option('sysext', type : 'boolean',
126 description : 'install the systemd-sysext stack')
46cdbd49
BR
127option('userdb', type : 'boolean',
128 description : 'install the systemd-userdbd stack')
129option('homed', type : 'combo', choices : ['auto', 'true', 'false'],
130 description : 'install the systemd-homed stack')
81c58355
MB
131option('networkd', type : 'boolean',
132 description : 'install the systemd-networkd stack')
133option('timedated', type : 'boolean',
134 description : 'install the systemd-timedated daemon')
135option('timesyncd', type : 'boolean',
136 description : 'install the systemd-timesyncd daemon')
f5e65279 137option('remote', type : 'combo', choices : ['auto', 'true', 'false'],
81c58355 138 description : 'support for "journal over the network"')
f2dec872
BR
139option('create-log-dirs', type : 'boolean',
140 description : 'create /var/log/journal{,/remote}')
6e866b33
MB
141option('nss-myhostname', type : 'boolean',
142 description : 'install nss-myhostname module')
143option('nss-mymachines', type : 'combo', choices : ['auto', 'true', 'false'],
144 description : 'install nss-mymachines module')
145option('nss-resolve', type : 'combo', choices : ['auto', 'true', 'false'],
146 description : 'install nss-resolve module')
147option('nss-systemd', type : 'boolean',
148 description : 'install nss-systemd module')
81c58355
MB
149option('firstboot', type : 'boolean',
150 description : 'support for firstboot mechanism')
151option('randomseed', type : 'boolean',
152 description : 'support for restoring random seed')
153option('backlight', type : 'boolean',
154 description : 'support for restoring backlight state')
155option('vconsole', type : 'boolean',
156 description : 'support for vconsole configuration')
157option('quotacheck', type : 'boolean',
158 description : 'support for the quotacheck tools')
159option('sysusers', type : 'boolean',
160 description : 'support for the sysusers configuration')
161option('tmpfiles', type : 'boolean',
162 description : 'support for tmpfiles.d')
f5e65279 163option('importd', type : 'combo', choices : ['auto', 'true', 'false'],
81c58355
MB
164 description : 'install the systemd-importd daemon')
165option('hwdb', type : 'boolean',
166 description : 'support for the hardware database')
167option('rfkill', type : 'boolean',
168 description : 'support for the rfkill tools')
a10f5d05
MB
169option('xdg-autostart', type : 'boolean',
170 description : 'install the xdg-autostart-generator and unit')
81c58355 171option('man', type : 'combo', choices : ['auto', 'true', 'false'],
f2dec872 172 value : 'false',
81c58355
MB
173 description : 'build and install man pages')
174option('html', type : 'combo', choices : ['auto', 'true', 'false'],
175 value : 'false',
176 description : 'build and install html pages')
3a6ce677
BR
177option('translations', type : 'boolean', value : true,
178 description : 'build and install translations')
81c58355
MB
179
180option('certificate-root', type : 'string', value : '/etc/ssl',
181 description : 'the prefix for TLS certificates')
182option('dbuspolicydir', type : 'string',
183 description : 'D-Bus policy directory')
184option('dbussessionservicedir', type : 'string',
185 description : 'D-Bus session service directory')
186option('dbussystemservicedir', type : 'string',
187 description : 'D-Bus system service directory')
f5caa8fa
MB
188option('dbus-interfaces-dir', type : 'string',
189 description : 'export D-Bus introspection XML as standalone files')
6e866b33 190option('pkgconfigdatadir', type : 'string', value : '',
812752cc 191 description : 'directory for arch-independent pkg-config files')
81c58355 192option('pkgconfiglibdir', type : 'string', value : '',
812752cc 193 description : 'directory for standard pkg-config files')
3a6ce677
BR
194option('xinitrcdir', type : 'string', value : '',
195 description : 'directory for xinitrc files')
81c58355
MB
196option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d',
197 description : 'directory for rpm macros ["no" disables]')
ea0999c9
MB
198option('update-helper-user-timeout', type : 'string', value : '15s',
199 description : 'how long to wait for user manager operations')
81c58355
MB
200option('pamlibdir', type : 'string',
201 description : 'directory for PAM modules')
202option('pamconfdir', type : 'string',
203 description : 'directory for PAM configuration ["no" disables]')
ea0999c9
MB
204option('libcryptsetup-plugins-dir', type : 'string',
205 description : 'directory for libcryptsetup plugins')
98393f85
MB
206option('docdir', type : 'string',
207 description : 'documentation directory')
3a6ce677
BR
208option('install-sysconfdir', type : 'combo', choices : ['true', 'no-samples', 'false'], value : 'true',
209 description : 'install configuration files and directories to $sysconfdir')
81c58355
MB
210
211option('fallback-hostname', type : 'string', value : 'localhost',
212 description : 'the hostname used if none configured')
213option('default-hierarchy', type : 'combo',
f2dec872 214 choices : ['legacy', 'hybrid', 'unified'], value : 'unified',
81c58355 215 description : 'default cgroup hierarchy')
ea0999c9
MB
216option('extra-net-naming-schemes', type : 'string',
217 description : 'comma-separated list of extra net.naming-scheme= definitions')
218option('default-net-naming-scheme', type : 'string', value : 'latest',
6e866b33 219 description : 'default net.naming-scheme= value')
f2dec872 220option('status-unit-format-default', type : 'combo',
086111aa 221 choices : ['auto', 'description', 'name', 'combined'],
f2dec872 222 description : 'use unit name or description in messages by default')
086111aa 223option('time-epoch', type : 'integer', value : 0,
81c58355 224 description : 'time epoch for time clients')
086111aa
LB
225option('clock-valid-range-usec-max', type : 'integer', value : 473364000000000, # 15 years
226 description : 'maximum value in microseconds for the difference between RTC and epoch, exceeding which is considered an RTC error ["0" disables]')
f5caa8fa
MB
227option('default-user-shell', type : 'string', value : '/bin/bash',
228 description : 'default interactive shell')
626cb2db 229
086111aa 230option('system-alloc-uid-min', type : 'integer', value : 0,
a032b68d 231 description : 'minimum system UID used when allocating')
086111aa 232option('system-alloc-gid-min', type : 'integer', value : 0,
a032b68d 233 description : 'minimum system GID used when allocating')
086111aa 234option('system-uid-max', type : 'integer', value : 0,
81c58355 235 description : 'maximum system UID')
086111aa 236option('system-gid-max', type : 'integer', value : 0,
81c58355 237 description : 'maximum system GID')
6e866b33
MB
238option('dynamic-uid-min', type : 'integer', value : 0x0000EF00,
239 description : 'minimum dynamic UID')
240option('dynamic-uid-max', type : 'integer', value : 0x0000FFEF,
241 description : 'maximum dynamic UID')
242option('container-uid-base-min', type : 'integer', value : 0x00080000,
243 description : 'minimum container UID base')
244option('container-uid-base-max', type : 'integer', value : 0x6FFF0000,
245 description : 'maximum container UID base')
81c58355
MB
246option('adm-group', type : 'boolean',
247 description : 'the ACL for adm group should be added')
248option('wheel-group', type : 'boolean',
249 description : 'the ACL for wheel group should be added')
250option('nobody-user', type : 'string',
251 description : 'The name of the nobody user (the one with UID 65534)',
252 value : 'nobody')
253option('nobody-group', type : 'string',
254 description : 'The name of the nobody group (the one with GID 65534)',
255 value : 'nobody')
086111aa 256option('adm-gid', type : 'integer', value : 0,
626cb2db 257 description : 'soft-static allocation for the "adm" group')
086111aa 258option('audio-gid', type : 'integer', value : 0,
626cb2db 259 description : 'soft-static allocation for the "audio" group')
086111aa 260option('cdrom-gid', type : 'integer', value : 0,
626cb2db 261 description : 'soft-static allocation for the "cdrom" group')
086111aa 262option('dialout-gid', type : 'integer', value : 0,
626cb2db 263 description : 'soft-static allocation for the "dialout" group')
086111aa 264option('disk-gid', type : 'integer', value : 0,
626cb2db 265 description : 'soft-static allocation for the "disk" group')
086111aa 266option('input-gid', type : 'integer', value : 0,
626cb2db 267 description : 'soft-static allocation for the "input" group')
086111aa 268option('kmem-gid', type : 'integer', value : 0,
626cb2db 269 description : 'soft-static allocation for the "kmem" group')
086111aa 270option('kvm-gid', type : 'integer', value : 0,
626cb2db 271 description : 'soft-static allocation for the "kvm" group')
086111aa 272option('lp-gid', type : 'integer', value : 0,
626cb2db 273 description : 'soft-static allocation for the "lp" group')
086111aa 274option('render-gid', type : 'integer', value : 0,
626cb2db 275 description : 'soft-static allocation for the "render" group')
086111aa 276option('sgx-gid', type : 'integer', value : 0,
626cb2db 277 description : 'soft-static allocation for the "sgx" group')
086111aa 278option('tape-gid', type : 'integer', value : 0,
626cb2db
MB
279 description : 'soft-static allocation for the "tape" group')
280option('tty-gid', type : 'integer', value : 5,
281 description : 'the numeric GID of the "tty" group')
086111aa 282option('users-gid', type : 'integer', value : 0,
626cb2db 283 description : 'soft-static allocation for the "users" group')
086111aa 284option('utmp-gid', type : 'integer', value : 0,
626cb2db 285 description : 'soft-static allocation for the "utmp" group')
086111aa 286option('video-gid', type : 'integer', value : 0,
626cb2db 287 description : 'soft-static allocation for the "video" group')
086111aa 288option('wheel-gid', type : 'integer', value : 0,
626cb2db 289 description : 'soft-static allocation for the "wheel" group')
086111aa 290option('systemd-journal-gid', type : 'integer', value : 0,
626cb2db 291 description : 'soft-static allocation for the systemd-journal group')
086111aa 292option('systemd-network-uid', type : 'integer', value : 0,
626cb2db 293 description : 'soft-static allocation for the systemd-network user')
086111aa 294option('systemd-resolve-uid', type : 'integer', value : 0,
626cb2db 295 description : 'soft-static allocation for the systemd-resolve user')
086111aa 296option('systemd-timesync-uid', type : 'integer', value : 0,
626cb2db
MB
297 description : 'soft-static allocation for the systemd-timesync user')
298
52ad194e 299option('dev-kvm-mode', type : 'string', value : '0666',
81c58355 300 description : '/dev/kvm access mode')
52ad194e
MB
301option('group-render-mode', type : 'string', value : '0666',
302 description : 'Access mode for devices owned by render group (e.g. /dev/dri/renderD*, /dev/kfd).')
81c58355
MB
303option('default-kill-user-processes', type : 'boolean',
304 description : 'the default value for KillUserProcesses= setting')
305option('gshadow', type : 'boolean',
306 description : 'support for shadow group')
086111aa 307option('default-locale', type : 'string', value : 'C.UTF-8',
7c20daf6 308 description : 'default locale used when /etc/locale.conf does not exist')
086111aa
LB
309option('nspawn-locale', type : 'string', value : 'C.UTF-8',
310 description : 'default locale used by systemd-nspawn when executing commands in a container')
3a6ce677
BR
311option('localegen-path', type : 'string', value : '',
312 description : 'absolute path to the locale-gen binary in case the system is using locale-gen')
e1f67bc7
MB
313option('service-watchdog', type : 'string', value : '3min',
314 description : 'default watchdog setting for systemd services')
81c58355
MB
315
316option('default-dnssec', type : 'combo',
317 description : 'default DNSSEC mode',
318 choices : ['yes', 'allow-downgrade', 'no'],
319 value : 'allow-downgrade')
b012e921
MB
320option('default-dns-over-tls', type : 'combo',
321 description : 'default DNS-over-TLS mode',
f2dec872 322 choices : ['yes', 'opportunistic', 'no'],
b012e921 323 value : 'no')
a10f5d05
MB
324option('default-mdns', type : 'combo',
325 choices : ['yes', 'resolve', 'no'],
326 description : 'default MulticastDNS mode',
327 value : 'yes')
328option('default-llmnr', type : 'combo',
329 choices : ['yes', 'resolve', 'no'],
330 description : 'default LLMNR mode',
331 value : 'yes')
6e866b33 332option('dns-over-tls', type : 'combo', choices : ['auto', 'gnutls', 'openssl', 'true', 'false'],
b012e921 333 description : 'DNS-over-TLS support')
81c58355
MB
334option('dns-servers', type : 'string',
335 description : 'space-separated list of default DNS servers',
8b3d4ff0 336 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')
81c58355
MB
337option('ntp-servers', type : 'string',
338 description : 'space-separated list of default NTP servers',
339 value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
340option('support-url', type : 'string',
341 description : 'the support URL to show in catalog entries included in systemd',
342 value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
343option('www-target', type : 'string',
344 description : 'the address and dir to upload docs too',
345 value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd')
346
347option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'],
348 description : 'SECCOMP support')
349option('selinux', type : 'combo', choices : ['auto', 'true', 'false'],
350 description : 'SELinux support')
351option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'],
352 description : 'AppArmor support')
353option('smack', type : 'boolean',
354 description : 'SMACK support')
355option('smack-run-label', type : 'string',
356 description : 'run systemd --system itself with a specific SMACK label')
086111aa
LB
357option('smack-default-process-label', type : 'string',
358 description : 'default SMACK label for executed processes')
81c58355 359option('polkit', type : 'combo', choices : ['auto', 'true', 'false'],
6e866b33 360 description : 'polkit support')
81c58355
MB
361option('ima', type : 'boolean',
362 description : 'IMA support')
363
364option('acl', type : 'combo', choices : ['auto', 'true', 'false'],
365 description : 'libacl support')
366option('audit', type : 'combo', choices : ['auto', 'true', 'false'],
367 description : 'libaudit support')
368option('blkid', type : 'combo', choices : ['auto', 'true', 'false'],
369 description : 'libblkid support')
46cdbd49
BR
370option('fdisk', type : 'combo', choices : ['auto', 'true', 'false'],
371 description : 'libfdisk support')
81c58355
MB
372option('kmod', type : 'combo', choices : ['auto', 'true', 'false'],
373 description : 'support for loadable modules')
374option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
375 description : 'PAM support')
46cdbd49
BR
376option('pwquality', type : 'combo', choices : ['auto', 'true', 'false'],
377 description : 'libpwquality support')
81c58355
MB
378option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'],
379 description : 'libµhttpd support')
380option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'],
381 description : 'libcryptsetup support')
ea0999c9
MB
382option('libcryptsetup-plugins', type : 'combo', choices : ['auto', 'true', 'false'],
383 description : 'libcryptsetup LUKS2 external token handlers support (plugins)')
81c58355
MB
384option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'],
385 description : 'libcurl support')
386option('idn', type : 'boolean',
a10f5d05 387 description : 'use IDN when printing hostnames')
81c58355
MB
388option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'],
389 description : 'libidn2 support')
390option('libidn', type : 'combo', choices : ['auto', 'true', 'false'],
391 description : 'libidn support')
81c58355
MB
392option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'],
393 description : 'libiptc support')
394option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'],
395 description : 'libqrencode support')
396option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'],
397 description : 'gcrypt support')
398option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'],
399 description : 'gnutls support')
6e866b33
MB
400option('openssl', type : 'combo', choices : ['auto', 'true', 'false'],
401 description : 'openssl support')
ea0999c9
MB
402option('cryptolib', type : 'combo', choices : ['auto', 'openssl', 'gcrypt'],
403 description : 'whether to use openssl or gcrypt where both are supported')
46cdbd49
BR
404option('p11kit', type : 'combo', choices : ['auto', 'true', 'false'],
405 description : 'p11kit support')
a10f5d05
MB
406option('libfido2', type : 'combo', choices : ['auto', 'true', 'false'],
407 description : 'FIDO2 support')
3a6ce677
BR
408option('tpm2', type : 'combo', choices : ['auto', 'true', 'false'],
409 description : 'TPM2 support')
81c58355
MB
410option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
411 description : 'elfutils support')
412option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],
413 description : 'zlib compression support')
414option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'],
415 description : 'bzip2 compression support')
416option('xz', type : 'combo', choices : ['auto', 'true', 'false'],
417 description : 'xz compression support')
418option('lz4', type : 'combo', choices : ['auto', 'true', 'false'],
419 description : 'lz4 compression support')
a10f5d05
MB
420option('zstd', type : 'combo', choices : ['auto', 'true', 'false'],
421 description : 'zstd compression support')
8f232108
MB
422option('default-compression', type : 'combo', choices : ['auto', 'zstd', 'lz4', 'xz'], value: 'auto',
423 description : 'default compression algorithm')
81c58355
MB
424option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'],
425 description : 'xkbcommon keymap support')
1d42b86d
MB
426option('pcre2', type : 'combo', choices : ['auto', 'true', 'false'],
427 description : 'regexp matching support using pcre2')
81c58355
MB
428option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
429 description : 'libglib support (for tests only)')
430option('dbus', type : 'combo', choices : ['auto', 'true', 'false'],
431 description : 'libdbus support (for tests only)')
432
433option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'],
434 description : 'gnu-efi support for sd-boot')
8f232108
MB
435option('efi-cflags', type : 'array',
436 description : 'additional flags for EFI compiler')
ea0999c9
MB
437# Note that LLD does not support PE/COFF relocations
438# https://lists.llvm.org/pipermail/llvm-dev/2021-March/149234.html
439option('efi-ld', type : 'combo', choices : ['auto', 'bfd', 'gold'],
81c58355
MB
440 description : 'the linker to use for EFI modules')
441option('efi-libdir', type : 'string',
442 description : 'path to the EFI lib directory')
81c58355
MB
443option('efi-includedir', type : 'string', value : '/usr/include/efi',
444 description : 'path to the EFI header directory')
086111aa 445option('efi-tpm-pcr-compat', type : 'boolean', value : false,
f5caa8fa 446 description : 'Measure kernel command line also into TPM PCR 8 (in addition to 12)')
ea0999c9 447option('sbat-distro', type : 'string', value : 'auto',
8b3d4ff0
MB
448 description : 'SBAT distribution ID, e.g. fedora, or auto for autodetection')
449option('sbat-distro-generation', type : 'integer', value : 1,
450 description : 'SBAT distribution generation')
451option('sbat-distro-summary', type : 'string',
452 description : 'SBAT distribution summary, e.g. Fedora')
453option('sbat-distro-pkgname', type : 'string',
454 description : 'SBAT distribution package name, e.g. systemd')
455option('sbat-distro-version', type : 'string',
456 description : 'SBAT distribution package version, e.g. 248-7.fc34')
457option('sbat-distro-url', type : 'string',
458 description : 'SBAT distribution URL, e.g. https://src.fedoraproject.org/rpms/systemd')
ea0999c9
MB
459option('efi-color-normal', type : 'string', value : 'lightgray,black',
460 description : 'general boot loader color in "foreground,background" form, see constants from eficon.h')
461option('efi-color-entry', type : 'string', value : 'lightgray,black',
462 description : 'boot loader color for entries')
463option('efi-color-highlight', type : 'string', value : 'black,lightgray',
464 description : 'boot loader color for selected entries')
465option('efi-color-edit', type : 'string', value : 'black,lightgray',
466 description : 'boot loader color for option line edit')
81c58355
MB
467
468option('bashcompletiondir', type : 'string',
469 description : 'directory for bash completion scripts ["no" disables]')
470option('zshcompletiondir', type : 'string',
471 description : 'directory for zsh completion scripts ["no" disables]')
472
1d42b86d 473option('tests', type : 'combo', choices : ['true', 'unsafe', 'false'],
81c58355 474 description : 'enable extra tests with =unsafe')
086111aa 475option('slow-tests', type : 'boolean', value : false,
f5e65279 476 description : 'run the slow tests by default')
086111aa 477option('fuzz-tests', type : 'boolean', value : false,
8b3d4ff0 478 description : 'run the fuzzer regression tests by default (with sanitizers)')
086111aa 479option('install-tests', type : 'boolean', value : false,
81c58355 480 description : 'install test executables')
b3e21333
LB
481option('log-message-verification', type : 'combo', choices : ['auto', 'true', 'false'],
482 description : 'do fake printf() calls to verify format strings')
1d42b86d 483
3a6ce677 484option('ok-color', type : 'combo',
98393f85
MB
485 choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan',
486 'white', 'highlight-black', 'highlight-red', 'highlight-green',
487 'highlight-yellow', 'highlight-blue', 'highlight-magenta',
488 'highlight-cyan', 'highlight-white'],
489 value : 'green',
490 description: 'color of the "OK" status message')
086111aa 491option('urlify', type : 'boolean', value : true,
ea0999c9 492 description : 'enable pager Hyperlink ANSI sequence support')
086111aa 493option('fexecve', type : 'boolean', value : false,
3a6ce677 494 description : 'use fexecve() to spawn children')
98393f85 495
086111aa 496option('oss-fuzz', type : 'boolean', value : false,
1d42b86d 497 description : 'build against oss-fuzz')
086111aa 498option('llvm-fuzz', type : 'boolean', value : false,
1d42b86d 499 description : 'build against LLVM libFuzzer')
086111aa 500option('kernel-install', type: 'boolean', value: true,
a10f5d05 501 description : 'install kernel-install and associated files')
086111aa 502option('analyze', type: 'boolean', value: true,
a10f5d05 503 description : 'install systemd-analyze')
8b3d4ff0 504
086111aa
LB
505option('bpf-compiler', type : 'combo', choices : ['clang', 'gcc'],
506 description: 'compiler used to build BPF programs, note: gcc is experimental')
8b3d4ff0
MB
507option('bpf-framework', type : 'combo', choices : ['auto', 'true', 'false'],
508 description: 'build BPF programs from source code in restricted C')
ea0999c9 509
086111aa 510option('skip-deps', type : 'boolean', value : false,
f5caa8fa 511 description : 'skip optional dependencies')