]> git.ipfire.org Git - thirdparty/systemd.git/blob - meson_options.txt
cgroup: fix handling of TasksAccounting= property
[thirdparty/systemd.git] / meson_options.txt
1 # -*- mode: meson -*-
2 # SPDX-License-Identifier: LGPL-2.1+
3 #
4 # Copyright 2017 Zbigniew Jędrzejewski-Szmek
5 #
6 # systemd is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU Lesser General Public License as published by
8 # the Free Software Foundation; either version 2.1 of the License, or
9 # (at your option) any later version.
10 #
11 # systemd is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Lesser General Public License for more details.
15 #
16 # You should have received a copy of the GNU Lesser General Public License
17 # along with systemd; If not, see <http://www.gnu.org/licenses/>.
18
19 option('split-usr', type : 'boolean', value : false,
20 description : '''assume that /bin, /sbin aren't symlinks into /usr''')
21 option('rootlibdir', type : 'string',
22 description : '''[/usr]/lib/x86_64-linux-gnu or such''')
23 option('rootprefix', type : 'string',
24 description : '''override the root prefix''')
25 option('link-udev-shared', type : 'boolean',
26 description : 'link systemd-udev and its helpers to libsystemd-shared.so')
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 option('halt-local', type : 'string',
37 value : '/usr/sbin/halt.local')
38
39 option('quotaon-path', type : 'string', description : 'path to quotaon')
40 option('quotacheck-path', type : 'string', description : 'path to quotacheck')
41 option('kill-path', type : 'string', description : 'path to kill')
42 option('kmod-path', type : 'string', description : 'path to kmod')
43 option('kexec-path', type : 'string', description : 'path to kexec')
44 option('sulogin-path', type : 'string', description : 'path to sulogin')
45 option('mount-path', type : 'string', description : 'path to mount')
46 option('umount-path', type : 'string', description : 'path to umount')
47 option('loadkeys-path', type : 'string', description : 'path to loadkeys')
48 option('setfont-path', type : 'string', description : 'path to setfont')
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', type : 'string',
55 description : 'enable extra debugging (hashmap,mmap-cache)')
56
57 option('utmp', type : 'boolean',
58 description : 'support for utmp/wtmp log handling')
59 option('hibernate', type : 'boolean',
60 description : 'support for hibernation')
61 option('ldconfig', type : 'boolean',
62 description : 'support for dynamic linker cache creation')
63 option('resolve', type : 'boolean',
64 description : 'systemd-resolved stack')
65 option('efi', type : 'boolean',
66 description : 'enable systemd-boot and bootctl')
67 option('tpm', type : 'boolean',
68 description : 'TPM should be used to log events and extend the registers')
69 option('environment-d', type : 'boolean',
70 description : 'support for environment.d')
71 option('binfmt', type : 'boolean',
72 description : 'support for custom binary formats')
73 option('coredump', type : 'boolean',
74 description : 'install the coredump handler')
75 option('logind', type : 'boolean',
76 description : 'install the systemd-logind stack')
77 option('hostnamed', type : 'boolean',
78 description : 'install the systemd-hostnamed stack')
79 option('localed', type : 'boolean',
80 description : 'install the systemd-localed stack')
81 option('machined', type : 'boolean',
82 description : 'install the systemd-machined stack')
83 option('networkd', type : 'boolean',
84 description : 'install the systemd-networkd stack')
85 option('timedated', type : 'boolean',
86 description : 'install the systemd-timedated daemon')
87 option('timesyncd', type : 'boolean',
88 description : 'install the systemd-timesyncd daemon')
89 option('remote', type : 'combo', choices : ['auto', 'true', 'false'],
90 description : 'support for "journal over the network"')
91 option('myhostname', type : 'boolean',
92 description : 'nss-myhostname support')
93 option('firstboot', type : 'boolean',
94 description : 'support for firstboot mechanism')
95 option('randomseed', type : 'boolean',
96 description : 'support for restoring random seed')
97 option('backlight', type : 'boolean',
98 description : 'support for restoring backlight state')
99 option('vconsole', type : 'boolean',
100 description : 'support for vconsole configuration')
101 option('quotacheck', type : 'boolean',
102 description : 'support for the quotacheck tools')
103 option('sysusers', type : 'boolean',
104 description : 'support for the sysusers configuration')
105 option('tmpfiles', type : 'boolean',
106 description : 'support for tmpfiles.d')
107 option('importd', type : 'combo', choices : ['auto', 'true', 'false'],
108 description : 'install the systemd-importd daemon')
109 option('hwdb', type : 'boolean',
110 description : 'support for the hardware database')
111 option('rfkill', type : 'boolean',
112 description : 'support for the rfkill tools')
113 option('man', type : 'combo', choices : ['auto', 'true', 'false'],
114 description : 'build and install man pages')
115 option('html', type : 'combo', choices : ['auto', 'true', 'false'],
116 value : 'false',
117 description : 'build and install html pages')
118
119 option('certificate-root', type : 'string', value : '/etc/ssl',
120 description : 'the prefix for TLS certificates')
121 option('dbuspolicydir', type : 'string',
122 description : 'D-Bus policy directory')
123 option('dbussessionservicedir', type : 'string',
124 description : 'D-Bus session service directory')
125 option('dbussystemservicedir', type : 'string',
126 description : 'D-Bus system service directory')
127 option('pkgconfigdatadir', type : 'string', value : 'share/pkgconfig',
128 description : 'directory for ')
129 option('pkgconfiglibdir', type : 'string', value : '',
130 description : 'directory for ')
131 option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d',
132 description : 'directory for rpm macros ["no" disables]')
133 option('pamlibdir', type : 'string',
134 description : 'directory for PAM modules')
135 option('pamconfdir', type : 'string',
136 description : 'directory for PAM configuration ["no" disables]')
137
138 option('fallback-hostname', type : 'string', value : 'localhost',
139 description : 'the hostname used if none configured')
140 option('compat-gateway-hostname', type : 'boolean', value : 'false',
141 description : 'allow "gateway" as the symbolic name for default gateway')
142 option('default-hierarchy', type : 'combo',
143 choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid',
144 description : 'default cgroup hierarchy')
145 option('time-epoch', type : 'string',
146 description : 'time epoch for time clients')
147 option('system-uid-max', type : 'string',
148 description : 'maximum system UID')
149 option('system-gid-max', type : 'string',
150 description : 'maximum system GID')
151 option('dynamic-uid-min', type : 'string',
152 description : 'minimum dynamic UID',
153 value : '61184') # That's → 0x0000EF00 in hex
154 option('dynamic-uid-max', type : 'string',
155 description : 'maximum dynamic UID',
156 value : '65519') # That's → 0x0000FFEF in hex
157 option('container-uid-base-min', type : 'string',
158 description : 'minimum container UID base',
159 value : '524288') # That's → 0x00080000 in hex
160 option('container-uid-base-max', type : 'string',
161 description : 'maximum container UID base',
162 value : '1878982656') # That's → 0x6FFF0000 in hex
163 option('tty-gid', type : 'string',
164 description : 'the numeric GID of the "tty" group',
165 value : '5')
166 option('users-gid', type : 'string',
167 description : 'the numeric GID of the "users" group')
168 option('adm-group', type : 'boolean',
169 description : 'the ACL for adm group should be added')
170 option('wheel-group', type : 'boolean',
171 description : 'the ACL for wheel group should be added')
172 option('nobody-user', type : 'string',
173 description : 'The name of the nobody user (the one with UID 65534)',
174 value : 'nobody')
175 option('nobody-group', type : 'string',
176 description : 'The name of the nobody group (the one with GID 65534)',
177 value : 'nobody')
178 option('dev-kvm-mode', type : 'string', value : '0666',
179 description : '/dev/kvm access mode')
180 option('group-render-mode', type : 'string', value : '0666',
181 description : 'Access mode for devices owned by render group (e.g. /dev/dri/renderD*, /dev/kfd).')
182 option('default-kill-user-processes', type : 'boolean',
183 description : 'the default value for KillUserProcesses= setting')
184 option('gshadow', type : 'boolean',
185 description : 'support for shadow group')
186
187 option('default-dnssec', type : 'combo',
188 description : 'default DNSSEC mode',
189 choices : ['yes', 'allow-downgrade', 'no'],
190 value : 'allow-downgrade')
191 option('dns-servers', type : 'string',
192 description : 'space-separated list of default DNS servers',
193 value : '8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844')
194 option('ntp-servers', type : 'string',
195 description : 'space-separated list of default NTP servers',
196 value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
197 option('support-url', type : 'string',
198 description : 'the support URL to show in catalog entries included in systemd',
199 value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
200 option('www-target', type : 'string',
201 description : 'the address and dir to upload docs too',
202 value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd')
203
204 option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'],
205 description : 'SECCOMP support')
206 option('selinux', type : 'combo', choices : ['auto', 'true', 'false'],
207 description : 'SELinux support')
208 option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'],
209 description : 'AppArmor support')
210 option('smack', type : 'boolean',
211 description : 'SMACK support')
212 option('smack-run-label', type : 'string',
213 description : 'run systemd --system itself with a specific SMACK label')
214 option('polkit', type : 'combo', choices : ['auto', 'true', 'false'],
215 description : 'PolicyKit support')
216 option('ima', type : 'boolean',
217 description : 'IMA support')
218
219 option('acl', type : 'combo', choices : ['auto', 'true', 'false'],
220 description : 'libacl support')
221 option('audit', type : 'combo', choices : ['auto', 'true', 'false'],
222 description : 'libaudit support')
223 option('blkid', type : 'combo', choices : ['auto', 'true', 'false'],
224 description : 'libblkid support')
225 option('kmod', type : 'combo', choices : ['auto', 'true', 'false'],
226 description : 'support for loadable modules')
227 option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
228 description : 'PAM support')
229 option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'],
230 description : 'libµhttpd support')
231 option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'],
232 description : 'libcryptsetup support')
233 option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'],
234 description : 'libcurl support')
235 option('idn', type : 'boolean',
236 description : 'use IDN when printing host names')
237 option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'],
238 description : 'libidn2 support')
239 option('libidn', type : 'combo', choices : ['auto', 'true', 'false'],
240 description : 'libidn support')
241 option('nss-systemd', type : 'boolean',
242 description : 'enable nss-systemd')
243 option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'],
244 description : 'libiptc support')
245 option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'],
246 description : 'libqrencode support')
247 option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'],
248 description : 'gcrypt support')
249 option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'],
250 description : 'gnutls support')
251 option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
252 description : 'elfutils support')
253 option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],
254 description : 'zlib compression support')
255 option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'],
256 description : 'bzip2 compression support')
257 option('xz', type : 'combo', choices : ['auto', 'true', 'false'],
258 description : 'xz compression support')
259 option('lz4', type : 'combo', choices : ['auto', 'true', 'false'],
260 description : 'lz4 compression support')
261 option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'],
262 description : 'xkbcommon keymap support')
263 option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
264 description : 'libglib support (for tests only)')
265 option('dbus', type : 'combo', choices : ['auto', 'true', 'false'],
266 description : 'libdbus support (for tests only)')
267
268 option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'],
269 description : 'gnu-efi support for sd-boot')
270 option('efi-cc', type : 'string', value : 'gcc',
271 description : 'the compiler to use for EFI modules')
272 option('efi-ld', type : 'string', value : 'ld',
273 description : 'the linker to use for EFI modules')
274 option('efi-libdir', type : 'string',
275 description : 'path to the EFI lib directory')
276 option('efi-ldsdir', type : 'string',
277 description : 'path to the EFI lds directory')
278 option('efi-includedir', type : 'string', value : '/usr/include/efi',
279 description : 'path to the EFI header directory')
280 option('tpm-pcrindex', type : 'string', value : '8',
281 description : 'TPM PCR register number to use')
282
283 option('bashcompletiondir', type : 'string',
284 description : 'directory for bash completion scripts ["no" disables]')
285 option('zshcompletiondir', type : 'string',
286 description : 'directory for zsh completion scripts ["no" disables]')
287
288 option('tests', type : 'combo', choices : ['true', 'unsafe', 'false'],
289 description : 'enable extra tests with =unsafe')
290 option('slow-tests', type : 'boolean', value : 'false',
291 description : 'run the slow tests by default')
292 option('install-tests', type : 'boolean', value : 'false',
293 description : 'install test executables')
294
295 option('oss-fuzz', type : 'boolean', value : 'false',
296 description : 'build against oss-fuzz')
297 option('llvm-fuzz', type : 'boolean', value : 'false',
298 description : 'build against LLVM libFuzzer')