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