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