]> git.ipfire.org Git - thirdparty/systemd.git/blame - meson_options.txt
do not filter out deprecated USER audit messages
[thirdparty/systemd.git] / meson_options.txt
CommitLineData
5c23128d 1# -*- mode: meson -*-
3a726fcd 2# SPDX-License-Identifier: LGPL-2.1+
5c23128d 3
2675413e
ZJS
4option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'],
5 description : '''/bin, /sbin aren't symlinks into /usr''')
157baa87
ZJS
6option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'],
7 description : '''sbin is not a symlink to bin''')
5c23128d
ZJS
8option('rootlibdir', type : 'string',
9 description : '''[/usr]/lib/x86_64-linux-gnu or such''')
74344a17
ZJS
10option('rootprefix', type : 'string',
11 description : '''override the root prefix''')
3a30f21f
ZJS
12option('link-udev-shared', type : 'boolean',
13 description : 'link systemd-udev and its helpers to libsystemd-shared.so')
f3794366
FS
14option('link-systemctl-shared', type: 'boolean',
15 description : 'link systemctl against libsystemd-shared.so')
70848ecf
DC
16option('static-libsystemd', type : 'combo',
17 choices : ['false', 'true', 'pic', 'no-pic'],
18 description : '''install a static library for libsystemd''')
19option('static-libudev', type : 'combo',
20 choices : ['false', 'true', 'pic', 'no-pic'],
21 description : '''install a static library for libudev''')
5c23128d
ZJS
22
23option('sysvinit-path', type : 'string', value : '/etc/init.d',
24 description : 'the directory where the SysV init scripts are located')
25option('sysvrcnd-path', type : 'string', value : '/etc/rc.d',
26 description : 'the base directory for SysV rcN.d directories')
2fa645f1
MG
27option('telinit-path', type : 'string', value : '/lib/sysvinit/telinit',
28 description : 'path to telinit')
2a4c156d
ZJS
29option('rc-local', type : 'string',
30 value : '/etc/rc.local')
31option('halt-local', type : 'string',
32 value : '/usr/sbin/halt.local')
5c23128d
ZJS
33
34option('quotaon-path', type : 'string', description : 'path to quotaon')
35option('quotacheck-path', type : 'string', description : 'path to quotacheck')
36option('kill-path', type : 'string', description : 'path to kill')
37option('kmod-path', type : 'string', description : 'path to kmod')
38option('kexec-path', type : 'string', description : 'path to kexec')
39option('sulogin-path', type : 'string', description : 'path to sulogin')
40option('mount-path', type : 'string', description : 'path to mount')
41option('umount-path', type : 'string', description : 'path to umount')
42option('loadkeys-path', type : 'string', description : 'path to loadkeys')
43option('setfont-path', type : 'string', description : 'path to setfont')
44
3131bfe3
ZJS
45option('debug-shell', type : 'string', value : '/bin/sh',
46 description : 'path to debug shell binary')
47option('debug-tty', type : 'string', value : '/dev/tty9',
48 description : 'specify the tty device for debug shell')
ad7aa760
YW
49option('debug', type : 'array', choices : ['hashmap', 'mmap-cache'], value : [],
50 description : 'enable extra debugging')
444d5863
ZJS
51option('memory-accounting-default', type : 'boolean',
52 description : 'enable MemoryAccounting= by default')
d18cb393
ZJS
53option('valgrind', type : 'boolean', value : false,
54 description : 'do extra operations to avoid valgrind warnings')
3131bfe3 55
5c23128d
ZJS
56option('utmp', type : 'boolean',
57 description : 'support for utmp/wtmp log handling')
58option('hibernate', type : 'boolean',
59 description : 'support for hibernation')
60option('ldconfig', type : 'boolean',
61 description : 'support for dynamic linker cache creation')
62option('resolve', type : 'boolean',
63 description : 'systemd-resolved stack')
64option('efi', type : 'boolean',
8191c594 65 description : 'enable systemd-boot and bootctl')
cd4823f6 66option('tpm', type : 'boolean',
80c6fce8 67 description : 'TPM should be used to log events and extend the registers')
5c23128d
ZJS
68option('environment-d', type : 'boolean',
69 description : 'support for environment.d')
70option('binfmt', type : 'boolean',
71 description : 'support for custom binary formats')
72option('coredump', type : 'boolean',
73 description : 'install the coredump handler')
74option('logind', type : 'boolean',
75 description : 'install the systemd-logind stack')
76option('hostnamed', type : 'boolean',
77 description : 'install the systemd-hostnamed stack')
78option('localed', type : 'boolean',
79 description : 'install the systemd-localed stack')
80option('machined', type : 'boolean',
81 description : 'install the systemd-machined stack')
61d0578b
LP
82option('portabled', type : 'boolean',
83 description : 'install the systemd-portabled stack')
5c23128d
ZJS
84option('networkd', type : 'boolean',
85 description : 'install the systemd-networkd stack')
86option('timedated', type : 'boolean',
87 description : 'install the systemd-timedated daemon')
88option('timesyncd', type : 'boolean',
89 description : 'install the systemd-timesyncd daemon')
b1519d65 90option('remote', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d
ZJS
91 description : 'support for "journal over the network"')
92option('myhostname', type : 'boolean',
93 description : 'nss-myhostname support')
94option('firstboot', type : 'boolean',
95 description : 'support for firstboot mechanism')
96option('randomseed', type : 'boolean',
97 description : 'support for restoring random seed')
98option('backlight', type : 'boolean',
99 description : 'support for restoring backlight state')
100option('vconsole', type : 'boolean',
101 description : 'support for vconsole configuration')
102option('quotacheck', type : 'boolean',
103 description : 'support for the quotacheck tools')
104option('sysusers', type : 'boolean',
105 description : 'support for the sysusers configuration')
106option('tmpfiles', type : 'boolean',
107 description : 'support for tmpfiles.d')
b1519d65 108option('importd', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d
ZJS
109 description : 'install the systemd-importd daemon')
110option('hwdb', type : 'boolean',
111 description : 'support for the hardware database')
112option('rfkill', type : 'boolean',
113 description : 'support for the rfkill tools')
4390be30 114option('man', type : 'combo', choices : ['auto', 'true', 'false'],
527d43d7 115 description : 'build and install man pages')
4390be30
ZJS
116option('html', type : 'combo', choices : ['auto', 'true', 'false'],
117 value : 'false',
527d43d7 118 description : 'build and install html pages')
5c23128d
ZJS
119
120option('certificate-root', type : 'string', value : '/etc/ssl',
121 description : 'the prefix for TLS certificates')
122option('dbuspolicydir', type : 'string',
123 description : 'D-Bus policy directory')
124option('dbussessionservicedir', type : 'string',
125 description : 'D-Bus session service directory')
126option('dbussystemservicedir', type : 'string',
127 description : 'D-Bus system service directory')
128option('pkgconfigdatadir', type : 'string', value : 'share/pkgconfig',
129 description : 'directory for ')
130option('pkgconfiglibdir', type : 'string', value : '',
131 description : 'directory for ')
132option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d',
133 description : 'directory for rpm macros ["no" disables]')
134option('pamlibdir', type : 'string',
135 description : 'directory for PAM modules')
136option('pamconfdir', type : 'string',
137 description : 'directory for PAM configuration ["no" disables]')
75aaade1
TB
138option('docdir', type : 'string',
139 description : 'documentation directory')
5c23128d
ZJS
140
141option('fallback-hostname', type : 'string', value : 'localhost',
142 description : 'the hostname used if none configured')
5248e7e1
ZJS
143option('compat-gateway-hostname', type : 'boolean', value : 'false',
144 description : 'allow "gateway" as the symbolic name for default gateway')
5c23128d
ZJS
145option('default-hierarchy', type : 'combo',
146 choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid',
147 description : 'default cgroup hierarchy')
148option('time-epoch', type : 'string',
149 description : 'time epoch for time clients')
150option('system-uid-max', type : 'string',
151 description : 'maximum system UID')
152option('system-gid-max', type : 'string',
153 description : 'maximum system GID')
87d5e4f2
LP
154option('dynamic-uid-min', type : 'string',
155 description : 'minimum dynamic UID',
156 value : '61184') # That's → 0x0000EF00 in hex
157option('dynamic-uid-max', type : 'string',
158 description : 'maximum dynamic UID',
159 value : '65519') # That's → 0x0000FFEF in hex
160option('container-uid-base-min', type : 'string',
161 description : 'minimum container UID base',
162 value : '524288') # That's → 0x00080000 in hex
163option('container-uid-base-max', type : 'string',
164 description : 'maximum container UID base',
165 value : '1878982656') # That's → 0x6FFF0000 in hex
5c23128d
ZJS
166option('tty-gid', type : 'string',
167 description : 'the numeric GID of the "tty" group',
168 value : '5')
84786b8e
ID
169option('users-gid', type : 'string',
170 description : 'the numeric GID of the "users" group')
5c23128d
ZJS
171option('adm-group', type : 'boolean',
172 description : 'the ACL for adm group should be added')
173option('wheel-group', type : 'boolean',
174 description : 'the ACL for wheel group should be added')
175option('nobody-user', type : 'string',
176 description : 'The name of the nobody user (the one with UID 65534)',
177 value : 'nobody')
178option('nobody-group', type : 'string',
179 description : 'The name of the nobody group (the one with GID 65534)',
180 value : 'nobody')
b8fd3d82 181option('dev-kvm-mode', type : 'string', value : '0666',
5c23128d 182 description : '/dev/kvm access mode')
4e15a734
TS
183option('group-render-mode', type : 'string', value : '0666',
184 description : 'Access mode for devices owned by render group (e.g. /dev/dri/renderD*, /dev/kfd).')
5c23128d
ZJS
185option('default-kill-user-processes', type : 'boolean',
186 description : 'the default value for KillUserProcesses= setting')
b14e1b43
FB
187option('gshadow', type : 'boolean',
188 description : 'support for shadow group')
5c23128d
ZJS
189
190option('default-dnssec', type : 'combo',
191 description : 'default DNSSEC mode',
192 choices : ['yes', 'allow-downgrade', 'no'],
193 value : 'allow-downgrade')
c9299be2
IT
194option('default-dns-over-tls', type : 'combo',
195 description : 'default DNS-over-TLS mode',
5d67a7ae
IT
196 choices : ['opportunistic', 'no'],
197 value : 'no')
5c23128d
ZJS
198option('dns-servers', type : 'string',
199 description : 'space-separated list of default DNS servers',
200 value : '8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844')
201option('ntp-servers', type : 'string',
202 description : 'space-separated list of default NTP servers',
203 value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
204option('support-url', type : 'string',
205 description : 'the support URL to show in catalog entries included in systemd',
206 value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
f75d75eb
ZJS
207option('www-target', type : 'string',
208 description : 'the address and dir to upload docs too',
209 value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd')
5c23128d 210
4390be30 211option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 212 description : 'SECCOMP support')
4390be30 213option('selinux', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 214 description : 'SELinux support')
4390be30 215option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 216 description : 'AppArmor support')
5464ec8a 217option('smack', type : 'boolean',
5c23128d
ZJS
218 description : 'SMACK support')
219option('smack-run-label', type : 'string',
220 description : 'run systemd --system itself with a specific SMACK label')
4390be30 221option('polkit', type : 'combo', choices : ['auto', 'true', 'false'],
3ca0cb73 222 description : 'PolicyKit support')
2895c8ee
ZJS
223option('ima', type : 'boolean',
224 description : 'IMA support')
5c23128d 225
36f0387e
ZJS
226option('acl', type : 'combo', choices : ['auto', 'true', 'false'],
227 description : 'libacl support')
4390be30 228option('audit', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 229 description : 'libaudit support')
4390be30 230option('blkid', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 231 description : 'libblkid support')
4390be30 232option('kmod', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 233 description : 'support for loadable modules')
4390be30 234option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 235 description : 'PAM support')
4390be30 236option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 237 description : 'libµhttpd support')
4390be30 238option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 239 description : 'libcryptsetup support')
4390be30 240option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 241 description : 'libcurl support')
d1bf5675
ZJS
242option('idn', type : 'boolean',
243 description : 'use IDN when printing host names')
87057e24
ZJS
244option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'],
245 description : 'libidn2 support')
4390be30 246option('libidn', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 247 description : 'libidn support')
e7e11bbf
WB
248option('nss-systemd', type : 'boolean',
249 description : 'enable nss-systemd')
4390be30 250option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 251 description : 'libiptc support')
4390be30 252option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 253 description : 'libqrencode support')
76c87410
MB
254option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'],
255 description : 'gcrypt support')
4390be30 256option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 257 description : 'gnutls support')
4390be30 258option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 259 description : 'elfutils support')
4390be30 260option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 261 description : 'zlib compression support')
4390be30 262option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 263 description : 'bzip2 compression support')
4390be30 264option('xz', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 265 description : 'xz compression support')
4390be30 266option('lz4', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 267 description : 'lz4 compression support')
4390be30 268option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'],
1eeb43f5 269 description : 'xkbcommon keymap support')
c4c978a0
ZJS
270option('pcre2', type : 'combo', choices : ['auto', 'true', 'false'],
271 description : 'regexp matching support using pcre2')
4390be30 272option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
69e96427 273 description : 'libglib support (for tests only)')
4390be30 274option('dbus', type : 'combo', choices : ['auto', 'true', 'false'],
69e96427 275 description : 'libdbus support (for tests only)')
5c23128d 276
4390be30 277option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'],
b710072d
ZJS
278 description : 'gnu-efi support for sd-boot')
279option('efi-cc', type : 'string', value : 'gcc',
280 description : 'the compiler to use for EFI modules')
281option('efi-ld', type : 'string', value : 'ld',
282 description : 'the linker to use for EFI modules')
283option('efi-libdir', type : 'string',
284 description : 'path to the EFI lib directory')
285option('efi-ldsdir', type : 'string',
286 description : 'path to the EFI lds directory')
287option('efi-includedir', type : 'string', value : '/usr/include/efi',
288 description : 'path to the EFI header directory')
80c6fce8
ZJS
289option('tpm-pcrindex', type : 'string', value : '8',
290 description : 'TPM PCR register number to use')
b710072d 291
5c23128d
ZJS
292option('bashcompletiondir', type : 'string',
293 description : 'directory for bash completion scripts ["no" disables]')
294option('zshcompletiondir', type : 'string',
295 description : 'directory for zsh completion scripts ["no" disables]')
69e96427 296
08318a2c 297option('tests', type : 'combo', choices : ['true', 'unsafe', 'false'],
69e96427 298 description : 'enable extra tests with =unsafe')
00d82c81
ZJS
299option('slow-tests', type : 'boolean', value : 'false',
300 description : 'run the slow tests by default')
572baca1
ZJS
301option('install-tests', type : 'boolean', value : 'false',
302 description : 'install test executables')
7db7d5b7 303
96164a39
AR
304option('ok-color', type: 'combo',
305 choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan',
f7c5427c
ZJS
306 'white', 'highlight-black', 'highlight-red', 'highlight-green',
307 'highlight-yellow', 'highlight-blue', 'highlight-magenta',
308 'highlight-cyan', 'highlight-white'],
96164a39
AR
309 value : 'green',
310 description: 'color of the "OK" status message')
311
7db7d5b7
JR
312option('oss-fuzz', type : 'boolean', value : 'false',
313 description : 'build against oss-fuzz')
31e57a35
JR
314option('llvm-fuzz', type : 'boolean', value : 'false',
315 description : 'build against LLVM libFuzzer')