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