]> git.ipfire.org Git - thirdparty/systemd.git/blame_incremental - meson_options.txt
Merge pull request #15251 from keszybz/coverity-fixes
[thirdparty/systemd.git] / meson_options.txt
... / ...
CommitLineData
1# -*- mode: meson -*-
2# SPDX-License-Identifier: LGPL-2.1+
3
4option('version-tag', type : 'string',
5 description : 'override the git version string')
6
7option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'],
8 description : '''/bin, /sbin aren't symlinks into /usr''')
9option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'],
10 description : '''sbin is not a symlink to bin''')
11option('rootlibdir', type : 'string',
12 description : '''[/usr]/lib/x86_64-linux-gnu or such''')
13option('rootprefix', type : 'string',
14 description : '''override the root prefix [default '/' if split-usr and '/usr' otherwise]''')
15option('link-udev-shared', type : 'boolean',
16 description : 'link systemd-udev and its helpers to libsystemd-shared.so')
17option('link-systemctl-shared', type: 'boolean',
18 description : 'link systemctl against libsystemd-shared.so')
19option('link-networkd-shared', type: 'boolean',
20 description : 'link systemd-networkd and its helpers to libsystemd-shared.so')
21option('link-timesyncd-shared', type: 'boolean',
22 description : 'link systemd-timesyncd and its helpers to libsystemd-shared.so')
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''')
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')
34option('telinit-path', type : 'string', value : '/lib/sysvinit/telinit',
35 description : 'path to telinit')
36option('rc-local', type : 'string',
37 value : '/etc/rc.local')
38
39option('quotaon-path', type : 'string', description : 'path to quotaon')
40option('quotacheck-path', type : 'string', description : 'path to quotacheck')
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')
48option('nologin-path', type : 'string', description : 'path to nologin')
49
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')
54option('debug-extra', type : 'array', choices : ['hashmap', 'mmap-cache', 'siphash'], value : [],
55 description : 'enable extra debugging')
56option('memory-accounting-default', type : 'boolean',
57 description : 'enable MemoryAccounting= by default')
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')
62option('valgrind', type : 'boolean', value : false,
63 description : 'do extra operations to avoid valgrind warnings')
64option('log-trace', type : 'boolean', value : false,
65 description : 'enable low level debug logging')
66option('user-path', type : 'string',
67 description : '$PATH to use for user sessions')
68
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',
78 description : 'enable systemd-boot and bootctl')
79option('tpm', type : 'boolean',
80 description : 'TPM should be used to log events and extend the registers')
81option('environment-d', type : 'boolean',
82 description : 'support for environment.d')
83option('binfmt', type : 'boolean',
84 description : 'support for custom binary formats')
85option('repart', type : 'combo', choices : ['auto', 'true', 'false'],
86 description : 'install the systemd-repart tool')
87option('coredump', type : 'boolean',
88 description : 'install the coredump handler')
89option('pstore', type : 'boolean',
90 description : 'install the pstore archival tool')
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')
99option('portabled', type : 'boolean',
100 description : 'install the systemd-portabled stack')
101option('userdb', type : 'boolean',
102 description : 'install the systemd-userdbd stack')
103option('homed', type : 'combo', choices : ['auto', 'true', 'false'],
104 description : 'install the systemd-homed stack')
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')
111option('remote', type : 'combo', choices : ['auto', 'true', 'false'],
112 description : 'support for "journal over the network"')
113option('create-log-dirs', type : 'boolean',
114 description : 'create /var/log/journal{,/remote}')
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')
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')
137option('importd', type : 'combo', choices : ['auto', 'true', 'false'],
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')
143option('man', type : 'combo', choices : ['auto', 'true', 'false'],
144 value : 'false',
145 description : 'build and install man pages')
146option('html', type : 'combo', choices : ['auto', 'true', 'false'],
147 value : 'false',
148 description : 'build and install html pages')
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')
158option('pkgconfigdatadir', type : 'string', value : '',
159 description : 'directory for arch-independent pkg-config files')
160option('pkgconfiglibdir', type : 'string', value : '',
161 description : 'directory for standard pkg-config files')
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]')
168option('docdir', type : 'string',
169 description : 'documentation directory')
170
171option('fallback-hostname', type : 'string', value : 'localhost',
172 description : 'the hostname used if none configured')
173option('compat-gateway-hostname', type : 'boolean', value : 'false',
174 description : 'allow "gateway" as the symbolic name for default gateway')
175option('default-hierarchy', type : 'combo',
176 choices : ['legacy', 'hybrid', 'unified'], value : 'unified',
177 description : 'default cgroup hierarchy')
178option('default-net-naming-scheme', type : 'combo',
179 choices : ['latest', 'v238', 'v239', 'v240'],
180 description : 'default net.naming-scheme= value')
181option('status-unit-format-default', type : 'combo',
182 choices : ['description', 'name'],
183 description : 'use unit name or description in messages by default')
184option('time-epoch', type : 'integer', value : '-1',
185 description : 'time epoch for time clients')
186option('system-uid-max', type : 'integer', value : '-1',
187 description : 'maximum system UID')
188option('system-gid-max', type : 'integer', value : '-1',
189 description : 'maximum system GID')
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',
201 description : 'the numeric GID of the "users" group')
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')
212option('dev-kvm-mode', type : 'string', value : '0666',
213 description : '/dev/kvm access mode')
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).')
216option('default-kill-user-processes', type : 'boolean',
217 description : 'the default value for KillUserProcesses= setting')
218option('gshadow', type : 'boolean',
219 description : 'support for shadow group')
220option('default-locale', type : 'string', value : '',
221 description : 'default locale used when /etc/locale.conf does not exist')
222option('service-watchdog', type : 'string', value : '3min',
223 description : 'default watchdog setting for systemd services')
224
225option('default-dnssec', type : 'combo',
226 description : 'default DNSSEC mode',
227 choices : ['yes', 'allow-downgrade', 'no'],
228 value : 'allow-downgrade')
229option('default-dns-over-tls', type : 'combo',
230 description : 'default DNS-over-TLS mode',
231 choices : ['yes', 'opportunistic', 'no'],
232 value : 'no')
233option('dns-over-tls', type : 'combo', choices : ['auto', 'gnutls', 'openssl', 'true', 'false'],
234 description : 'DNS-over-TLS support')
235option('dns-servers', type : 'string',
236 description : 'space-separated list of default DNS servers',
237 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')
238option('ntp-servers', type : 'string',
239 description : 'space-separated list of default NTP servers',
240 value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
241option('support-url', type : 'string',
242 description : 'the support URL to show in catalog entries included in systemd',
243 value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
244option('www-target', type : 'string',
245 description : 'the address and dir to upload docs too',
246 value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd')
247
248option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'],
249 description : 'SECCOMP support')
250option('selinux', type : 'combo', choices : ['auto', 'true', 'false'],
251 description : 'SELinux support')
252option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'],
253 description : 'AppArmor support')
254option('smack', type : 'boolean',
255 description : 'SMACK support')
256option('smack-run-label', type : 'string',
257 description : 'run systemd --system itself with a specific SMACK label')
258option('polkit', type : 'combo', choices : ['auto', 'true', 'false'],
259 description : 'polkit support')
260option('ima', type : 'boolean',
261 description : 'IMA support')
262
263option('acl', type : 'combo', choices : ['auto', 'true', 'false'],
264 description : 'libacl support')
265option('audit', type : 'combo', choices : ['auto', 'true', 'false'],
266 description : 'libaudit support')
267option('blkid', type : 'combo', choices : ['auto', 'true', 'false'],
268 description : 'libblkid support')
269option('fdisk', type : 'combo', choices : ['auto', 'true', 'false'],
270 description : 'libfdisk support')
271option('kmod', type : 'combo', choices : ['auto', 'true', 'false'],
272 description : 'support for loadable modules')
273option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
274 description : 'PAM support')
275option('pwquality', type : 'combo', choices : ['auto', 'true', 'false'],
276 description : 'libpwquality support')
277option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'],
278 description : 'libµhttpd support')
279option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'],
280 description : 'libcryptsetup support')
281option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'],
282 description : 'libcurl support')
283option('idn', type : 'boolean',
284 description : 'use IDN when printing host names')
285option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'],
286 description : 'libidn2 support')
287option('libidn', type : 'combo', choices : ['auto', 'true', 'false'],
288 description : 'libidn support')
289option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'],
290 description : 'libiptc support')
291option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'],
292 description : 'libqrencode support')
293option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'],
294 description : 'gcrypt support')
295option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'],
296 description : 'gnutls support')
297option('openssl', type : 'combo', choices : ['auto', 'true', 'false'],
298 description : 'openssl support')
299option('p11kit', type : 'combo', choices : ['auto', 'true', 'false'],
300 description : 'p11kit support')
301option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
302 description : 'elfutils support')
303option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],
304 description : 'zlib compression support')
305option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'],
306 description : 'bzip2 compression support')
307option('xz', type : 'combo', choices : ['auto', 'true', 'false'],
308 description : 'xz compression support')
309option('lz4', type : 'combo', choices : ['auto', 'true', 'false'],
310 description : 'lz4 compression support')
311option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'],
312 description : 'xkbcommon keymap support')
313option('pcre2', type : 'combo', choices : ['auto', 'true', 'false'],
314 description : 'regexp matching support using pcre2')
315option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
316 description : 'libglib support (for tests only)')
317option('dbus', type : 'combo', choices : ['auto', 'true', 'false'],
318 description : 'libdbus support (for tests only)')
319
320option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'],
321 description : 'gnu-efi support for sd-boot')
322option('efi-cc', type : 'array',
323 description : 'the compiler to use for EFI modules')
324option('efi-ld', type : 'string',
325 description : 'the linker to use for EFI modules')
326option('efi-libdir', type : 'string',
327 description : 'path to the EFI lib directory')
328option('efi-includedir', type : 'string', value : '/usr/include/efi',
329 description : 'path to the EFI header directory')
330option('tpm-pcrindex', type : 'integer', value : 8,
331 description : 'TPM PCR register number to use')
332
333option('bashcompletiondir', type : 'string',
334 description : 'directory for bash completion scripts ["no" disables]')
335option('zshcompletiondir', type : 'string',
336 description : 'directory for zsh completion scripts ["no" disables]')
337
338option('tests', type : 'combo', choices : ['true', 'unsafe', 'false'],
339 description : 'enable extra tests with =unsafe')
340option('slow-tests', type : 'boolean', value : 'false',
341 description : 'run the slow tests by default')
342option('install-tests', type : 'boolean', value : 'false',
343 description : 'install test executables')
344
345option('ok-color', type: 'combo',
346 choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan',
347 'white', 'highlight-black', 'highlight-red', 'highlight-green',
348 'highlight-yellow', 'highlight-blue', 'highlight-magenta',
349 'highlight-cyan', 'highlight-white'],
350 value : 'green',
351 description: 'color of the "OK" status message')
352
353option('oss-fuzz', type : 'boolean', value : 'false',
354 description : 'build against oss-fuzz')
355option('llvm-fuzz', type : 'boolean', value : 'false',
356 description : 'build against LLVM libFuzzer')