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