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