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