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