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