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