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