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