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