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