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