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