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