]>
Commit | Line | Data |
---|---|---|
5c23128d | 1 | # -*- mode: meson -*- |
db9ecf05 | 2 | # SPDX-License-Identifier: LGPL-2.1-or-later |
5c23128d | 3 | |
e1ca734e ZJS |
4 | option('version-tag', type : 'string', |
5 | description : 'override the git version string') | |
a2b0cd3f ZJS |
6 | option('shared-lib-tag', type : 'string', |
7 | description : 'override the private shared library version tag (defaults to project version)') | |
e1ca734e | 8 | |
4c8e5f44 | 9 | option('mode', type : 'combo', choices : ['developer', 'release'], |
b8ee3493 | 10 | description : 'autoenable features suitable for systemd development/release builds') |
839bdf25 | 11 | |
2675413e ZJS |
12 | option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'], |
13 | description : '''/bin, /sbin aren't symlinks into /usr''') | |
157baa87 ZJS |
14 | option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'], |
15 | description : '''sbin is not a symlink to bin''') | |
5c23128d ZJS |
16 | option('rootlibdir', type : 'string', |
17 | description : '''[/usr]/lib/x86_64-linux-gnu or such''') | |
74344a17 | 18 | option('rootprefix', type : 'string', |
80599eb0 | 19 | description : '''override the root prefix [default '/' if split-usr and '/usr' otherwise]''') |
3a30f21f ZJS |
20 | option('link-udev-shared', type : 'boolean', |
21 | description : 'link systemd-udev and its helpers to libsystemd-shared.so') | |
f3794366 FS |
22 | option('link-systemctl-shared', type: 'boolean', |
23 | description : 'link systemctl against libsystemd-shared.so') | |
5ac8b50d RS |
24 | option('link-networkd-shared', type: 'boolean', |
25 | description : 'link systemd-networkd and its helpers to libsystemd-shared.so') | |
fd74a13e RS |
26 | option('link-timesyncd-shared', type: 'boolean', |
27 | description : 'link systemd-timesyncd and its helpers to libsystemd-shared.so') | |
79647020 RS |
28 | option('link-boot-shared', type: 'boolean', |
29 | description : 'link bootctl and systemd-bless-boot against libsystemd-shared.so') | |
93651582 JL |
30 | option('first-boot-full-preset', type: 'boolean', value: false, |
31 | description : 'during first boot, do full preset-all (default will be changed to true later)') | |
79647020 | 32 | |
70848ecf DC |
33 | option('static-libsystemd', type : 'combo', |
34 | choices : ['false', 'true', 'pic', 'no-pic'], | |
35 | description : '''install a static library for libsystemd''') | |
36 | option('static-libudev', type : 'combo', | |
37 | choices : ['false', 'true', 'pic', 'no-pic'], | |
53393c89 | 38 | description : 'install a static library for libudev') |
8ef8f3d5 | 39 | option('standalone-binaries', type : 'boolean', value : 'false', |
53393c89 | 40 | description : 'also build standalone versions of supported binaries') |
5c23128d ZJS |
41 | |
42 | option('sysvinit-path', type : 'string', value : '/etc/init.d', | |
43 | description : 'the directory where the SysV init scripts are located') | |
44 | option('sysvrcnd-path', type : 'string', value : '/etc/rc.d', | |
45 | description : 'the base directory for SysV rcN.d directories') | |
2fa645f1 MG |
46 | option('telinit-path', type : 'string', value : '/lib/sysvinit/telinit', |
47 | description : 'path to telinit') | |
2a4c156d ZJS |
48 | option('rc-local', type : 'string', |
49 | value : '/etc/rc.local') | |
53393c89 | 50 | option('initrd', type : 'boolean', |
cdf7ad38 | 51 | description : 'install services for use when running systemd in initrd') |
53393c89 ZJS |
52 | option('compat-mutable-uid-boundaries', type : 'boolean', value : 'false', |
53 | description : 'look at uid boundaries in /etc/login.defs for compatibility') | |
7e0079f9 ZJS |
54 | option('nscd', type : 'boolean', |
55 | description : 'build support for flushing of the nscd caches') | |
5c23128d ZJS |
56 | |
57 | option('quotaon-path', type : 'string', description : 'path to quotaon') | |
58 | option('quotacheck-path', type : 'string', description : 'path to quotacheck') | |
5c23128d ZJS |
59 | option('kmod-path', type : 'string', description : 'path to kmod') |
60 | option('kexec-path', type : 'string', description : 'path to kexec') | |
61 | option('sulogin-path', type : 'string', description : 'path to sulogin') | |
62 | option('mount-path', type : 'string', description : 'path to mount') | |
63 | option('umount-path', type : 'string', description : 'path to umount') | |
64 | option('loadkeys-path', type : 'string', description : 'path to loadkeys') | |
65 | option('setfont-path', type : 'string', description : 'path to setfont') | |
6db90462 | 66 | option('nologin-path', type : 'string', description : 'path to nologin') |
5c23128d | 67 | |
3131bfe3 ZJS |
68 | option('debug-shell', type : 'string', value : '/bin/sh', |
69 | description : 'path to debug shell binary') | |
70 | option('debug-tty', type : 'string', value : '/dev/tty9', | |
71 | description : 'specify the tty device for debug shell') | |
6c092dbe | 72 | option('debug-extra', type : 'array', choices : ['hashmap', 'mmap-cache', 'siphash'], value : [], |
ad7aa760 | 73 | description : 'enable extra debugging') |
444d5863 ZJS |
74 | option('memory-accounting-default', type : 'boolean', |
75 | description : 'enable MemoryAccounting= by default') | |
a8b627aa | 76 | option('bump-proc-sys-fs-file-max', type : 'boolean', |
168561f2 | 77 | description : 'bump /proc/sys/fs/file-max to LONG_MAX') |
a8b627aa LP |
78 | option('bump-proc-sys-fs-nr-open', type : 'boolean', |
79 | description : 'bump /proc/sys/fs/nr_open to INT_MAX') | |
d18cb393 ZJS |
80 | option('valgrind', type : 'boolean', value : false, |
81 | description : 'do extra operations to avoid valgrind warnings') | |
fd5dec9a ZJS |
82 | option('log-trace', type : 'boolean', value : false, |
83 | description : 'enable low level debug logging') | |
3602ca6f ZJS |
84 | option('user-path', type : 'string', |
85 | description : '$PATH to use for user sessions') | |
3131bfe3 | 86 | |
5c23128d ZJS |
87 | option('utmp', type : 'boolean', |
88 | description : 'support for utmp/wtmp log handling') | |
89 | option('hibernate', type : 'boolean', | |
90 | description : 'support for hibernation') | |
91 | option('ldconfig', type : 'boolean', | |
92 | description : 'support for dynamic linker cache creation') | |
93 | option('resolve', type : 'boolean', | |
94 | description : 'systemd-resolved stack') | |
95 | option('efi', type : 'boolean', | |
8191c594 | 96 | description : 'enable systemd-boot and bootctl') |
cd4823f6 | 97 | option('tpm', type : 'boolean', |
80c6fce8 | 98 | description : 'TPM should be used to log events and extend the registers') |
5c23128d ZJS |
99 | option('environment-d', type : 'boolean', |
100 | description : 'support for environment.d') | |
101 | option('binfmt', type : 'boolean', | |
102 | description : 'support for custom binary formats') | |
e594a3b1 LP |
103 | option('repart', type : 'combo', choices : ['auto', 'true', 'false'], |
104 | description : 'install the systemd-repart tool') | |
43cc7a3e LP |
105 | option('sysupdate', type : 'combo', choices : ['auto', 'true', 'false'], |
106 | description : 'install the systemd-sysupdate tool') | |
5c23128d ZJS |
107 | option('coredump', type : 'boolean', |
108 | description : 'install the coredump handler') | |
9b4abc69 ED |
109 | option('pstore', type : 'boolean', |
110 | description : 'install the pstore archival tool') | |
ea8b9b2f | 111 | option('oomd', type : 'boolean', |
61ff7397 | 112 | description : 'install the userspace oom killer') |
5c23128d ZJS |
113 | option('logind', type : 'boolean', |
114 | description : 'install the systemd-logind stack') | |
115 | option('hostnamed', type : 'boolean', | |
116 | description : 'install the systemd-hostnamed stack') | |
117 | option('localed', type : 'boolean', | |
118 | description : 'install the systemd-localed stack') | |
119 | option('machined', type : 'boolean', | |
120 | description : 'install the systemd-machined stack') | |
61d0578b LP |
121 | option('portabled', type : 'boolean', |
122 | description : 'install the systemd-portabled stack') | |
9bca4ae4 LP |
123 | option('sysext', type : 'boolean', |
124 | description : 'install the systemd-sysext stack') | |
d093b62c LP |
125 | option('userdb', type : 'boolean', |
126 | description : 'install the systemd-userdbd stack') | |
ec74f47e | 127 | option('homed', type : 'combo', choices : ['auto', 'true', 'false'], |
70a5db58 | 128 | description : 'install the systemd-homed stack') |
5c23128d ZJS |
129 | option('networkd', type : 'boolean', |
130 | description : 'install the systemd-networkd stack') | |
131 | option('timedated', type : 'boolean', | |
132 | description : 'install the systemd-timedated daemon') | |
133 | option('timesyncd', type : 'boolean', | |
134 | description : 'install the systemd-timesyncd daemon') | |
b1519d65 | 135 | option('remote', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 136 | description : 'support for "journal over the network"') |
6ed5ef98 ZJS |
137 | option('create-log-dirs', type : 'boolean', |
138 | description : 'create /var/log/journal{,/remote}') | |
08540a95 YW |
139 | option('nss-myhostname', type : 'boolean', |
140 | description : 'install nss-myhostname module') | |
141 | option('nss-mymachines', type : 'combo', choices : ['auto', 'true', 'false'], | |
142 | description : 'install nss-mymachines module') | |
143 | option('nss-resolve', type : 'combo', choices : ['auto', 'true', 'false'], | |
144 | description : 'install nss-resolve module') | |
145 | option('nss-systemd', type : 'boolean', | |
146 | description : 'install nss-systemd module') | |
5c23128d ZJS |
147 | option('firstboot', type : 'boolean', |
148 | description : 'support for firstboot mechanism') | |
149 | option('randomseed', type : 'boolean', | |
150 | description : 'support for restoring random seed') | |
151 | option('backlight', type : 'boolean', | |
152 | description : 'support for restoring backlight state') | |
153 | option('vconsole', type : 'boolean', | |
154 | description : 'support for vconsole configuration') | |
155 | option('quotacheck', type : 'boolean', | |
156 | description : 'support for the quotacheck tools') | |
157 | option('sysusers', type : 'boolean', | |
158 | description : 'support for the sysusers configuration') | |
159 | option('tmpfiles', type : 'boolean', | |
160 | description : 'support for tmpfiles.d') | |
b1519d65 | 161 | option('importd', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d ZJS |
162 | description : 'install the systemd-importd daemon') |
163 | option('hwdb', type : 'boolean', | |
164 | description : 'support for the hardware database') | |
165 | option('rfkill', type : 'boolean', | |
166 | description : 'support for the rfkill tools') | |
8feca247 BB |
167 | option('xdg-autostart', type : 'boolean', |
168 | description : 'install the xdg-autostart-generator and unit') | |
4390be30 | 169 | option('man', type : 'combo', choices : ['auto', 'true', 'false'], |
0b0673b6 | 170 | value : 'false', |
527d43d7 | 171 | description : 'build and install man pages') |
4390be30 ZJS |
172 | option('html', type : 'combo', choices : ['auto', 'true', 'false'], |
173 | value : 'false', | |
527d43d7 | 174 | description : 'build and install html pages') |
8c979cfa DDM |
175 | option('translations', type : 'boolean', value : true, |
176 | description : 'build and install translations') | |
5c23128d ZJS |
177 | |
178 | option('certificate-root', type : 'string', value : '/etc/ssl', | |
179 | description : 'the prefix for TLS certificates') | |
180 | option('dbuspolicydir', type : 'string', | |
181 | description : 'D-Bus policy directory') | |
182 | option('dbussessionservicedir', type : 'string', | |
183 | description : 'D-Bus session service directory') | |
184 | option('dbussystemservicedir', type : 'string', | |
185 | description : 'D-Bus system service directory') | |
320848a6 YW |
186 | option('dbus-interfaces-dir', type : 'string', |
187 | description : 'export D-Bus introspection XML as standalone files') | |
a95696e3 | 188 | option('pkgconfigdatadir', type : 'string', value : '', |
f62b08dd | 189 | description : 'directory for arch-independent pkg-config files') |
5c23128d | 190 | option('pkgconfiglibdir', type : 'string', value : '', |
f62b08dd | 191 | description : 'directory for standard pkg-config files') |
e6263674 FB |
192 | option('xinitrcdir', type : 'string', value : '', |
193 | description : 'directory for xinitrc files') | |
5c23128d ZJS |
194 | option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d', |
195 | description : 'directory for rpm macros ["no" disables]') | |
36d55958 ZJS |
196 | option('update-helper-user-timeout', type : 'string', value : '15s', |
197 | description : 'how long to wait for user manager operations') | |
5c23128d ZJS |
198 | option('pamlibdir', type : 'string', |
199 | description : 'directory for PAM modules') | |
200 | option('pamconfdir', type : 'string', | |
201 | description : 'directory for PAM configuration ["no" disables]') | |
d1ae38d8 OK |
202 | option('libcryptsetup-plugins-dir', type : 'string', |
203 | description : 'directory for libcryptsetup plugins') | |
75aaade1 TB |
204 | option('docdir', type : 'string', |
205 | description : 'documentation directory') | |
225d08b8 JT |
206 | option('install-sysconfdir', type : 'combo', choices : ['true', 'no-samples', 'false'], value : 'true', |
207 | description : 'install configuration files and directories to $sysconfdir') | |
5c23128d ZJS |
208 | |
209 | option('fallback-hostname', type : 'string', value : 'localhost', | |
210 | description : 'the hostname used if none configured') | |
211 | option('default-hierarchy', type : 'combo', | |
87cf1f8f | 212 | choices : ['legacy', 'hybrid', 'unified'], value : 'unified', |
5c23128d | 213 | description : 'default cgroup hierarchy') |
681cb84a ZJS |
214 | option('extra-net-naming-schemes', type : 'string', |
215 | description : 'comma-separated list of extra net.naming-scheme= definitions') | |
77faadfd | 216 | option('default-net-naming-scheme', type : 'string', value : 'latest', |
06da5c63 | 217 | description : 'default net.naming-scheme= value') |
36cf4507 | 218 | option('status-unit-format-default', type : 'combo', |
819c0dcb | 219 | choices : ['auto', 'description', 'name', 'combined'], |
36cf4507 | 220 | description : 'use unit name or description in messages by default') |
ac09340e | 221 | option('time-epoch', type : 'integer', value : '-1', |
5c23128d | 222 | description : 'time epoch for time clients') |
b10abe4b EI |
223 | option('clock-valid-range-usec-max', type : 'integer', value : '473364000000000', # 15 years |
224 | description : 'maximum value in microseconds for the difference between RTC and epoch, exceeding which is considered an RTC error') | |
53350c7b | 225 | option('default-user-shell', type : 'string', value : '/bin/bash', |
226 | description : 'default interactive shell') | |
9a797ddc | 227 | |
fc1a5d1a ZJS |
228 | option('system-alloc-uid-min', type : 'integer', value : '-1', |
229 | description : 'minimum system UID used when allocating') | |
230 | option('system-alloc-gid-min', type : 'integer', value : '-1', | |
231 | description : 'minimum system GID used when allocating') | |
ac09340e | 232 | option('system-uid-max', type : 'integer', value : '-1', |
5c23128d | 233 | description : 'maximum system UID') |
ac09340e | 234 | option('system-gid-max', type : 'integer', value : '-1', |
5c23128d | 235 | description : 'maximum system GID') |
ac09340e YW |
236 | option('dynamic-uid-min', type : 'integer', value : 0x0000EF00, |
237 | description : 'minimum dynamic UID') | |
238 | option('dynamic-uid-max', type : 'integer', value : 0x0000FFEF, | |
239 | description : 'maximum dynamic UID') | |
240 | option('container-uid-base-min', type : 'integer', value : 0x00080000, | |
241 | description : 'minimum container UID base') | |
242 | option('container-uid-base-max', type : 'integer', value : 0x6FFF0000, | |
243 | description : 'maximum container UID base') | |
5c23128d ZJS |
244 | option('adm-group', type : 'boolean', |
245 | description : 'the ACL for adm group should be added') | |
246 | option('wheel-group', type : 'boolean', | |
247 | description : 'the ACL for wheel group should be added') | |
248 | option('nobody-user', type : 'string', | |
249 | description : 'The name of the nobody user (the one with UID 65534)', | |
250 | value : 'nobody') | |
251 | option('nobody-group', type : 'string', | |
252 | description : 'The name of the nobody group (the one with GID 65534)', | |
253 | value : 'nobody') | |
9a797ddc ZJS |
254 | option('adm-gid', type : 'integer', value : '-1', |
255 | description : 'soft-static allocation for the "adm" group') | |
256 | option('audio-gid', type : 'integer', value : '-1', | |
257 | description : 'soft-static allocation for the "audio" group') | |
258 | option('cdrom-gid', type : 'integer', value : '-1', | |
259 | description : 'soft-static allocation for the "cdrom" group') | |
260 | option('dialout-gid', type : 'integer', value : '-1', | |
261 | description : 'soft-static allocation for the "dialout" group') | |
262 | option('disk-gid', type : 'integer', value : '-1', | |
263 | description : 'soft-static allocation for the "disk" group') | |
264 | option('input-gid', type : 'integer', value : '-1', | |
265 | description : 'soft-static allocation for the "input" group') | |
266 | option('kmem-gid', type : 'integer', value : '-1', | |
267 | description : 'soft-static allocation for the "kmem" group') | |
268 | option('kvm-gid', type : 'integer', value : '-1', | |
269 | description : 'soft-static allocation for the "kvm" group') | |
270 | option('lp-gid', type : 'integer', value : '-1', | |
271 | description : 'soft-static allocation for the "lp" group') | |
272 | option('render-gid', type : 'integer', value : '-1', | |
273 | description : 'soft-static allocation for the "render" group') | |
274 | option('sgx-gid', type : 'integer', value : '-1', | |
275 | description : 'soft-static allocation for the "sgx" group') | |
276 | option('tape-gid', type : 'integer', value : '-1', | |
277 | description : 'soft-static allocation for the "tape" group') | |
278 | option('tty-gid', type : 'integer', value : 5, | |
279 | description : 'the numeric GID of the "tty" group') | |
280 | option('users-gid', type : 'integer', value : '-1', | |
281 | description : 'soft-static allocation for the "users" group') | |
282 | option('utmp-gid', type : 'integer', value : '-1', | |
283 | description : 'soft-static allocation for the "utmp" group') | |
284 | option('video-gid', type : 'integer', value : '-1', | |
285 | description : 'soft-static allocation for the "video" group') | |
286 | option('wheel-gid', type : 'integer', value : '-1', | |
287 | description : 'soft-static allocation for the "wheel" group') | |
288 | option('systemd-journal-gid', type : 'integer', value : '-1', | |
289 | description : 'soft-static allocation for the systemd-journal group') | |
290 | option('systemd-network-uid', type : 'integer', value : '-1', | |
291 | description : 'soft-static allocation for the systemd-network user') | |
292 | option('systemd-resolve-uid', type : 'integer', value : '-1', | |
293 | description : 'soft-static allocation for the systemd-resolve user') | |
294 | option('systemd-timesync-uid', type : 'integer', value : '-1', | |
295 | description : 'soft-static allocation for the systemd-timesync user') | |
296 | ||
b8fd3d82 | 297 | option('dev-kvm-mode', type : 'string', value : '0666', |
5c23128d | 298 | description : '/dev/kvm access mode') |
4e15a734 TS |
299 | option('group-render-mode', type : 'string', value : '0666', |
300 | description : 'Access mode for devices owned by render group (e.g. /dev/dri/renderD*, /dev/kfd).') | |
5c23128d ZJS |
301 | option('default-kill-user-processes', type : 'boolean', |
302 | description : 'the default value for KillUserProcesses= setting') | |
b14e1b43 FB |
303 | option('gshadow', type : 'boolean', |
304 | description : 'support for shadow group') | |
c9bd01ae | 305 | option('default-locale', type : 'string', value : 'C.UTF-8', |
8ca9e92c | 306 | description : 'default locale used when /etc/locale.conf does not exist') |
a22f5186 DDM |
307 | option('nspawn-locale', type : 'string', value : 'C.UTF-8', |
308 | description : 'default locale used by systemd-nspawn when executing commands in a container') | |
8f20232f MK |
309 | option('localegen-path', type : 'string', value : '', |
310 | description : 'absolute path to the locale-gen binary in case the system is using locale-gen') | |
21d0dd5a ZJS |
311 | option('service-watchdog', type : 'string', value : '3min', |
312 | description : 'default watchdog setting for systemd services') | |
5c23128d ZJS |
313 | |
314 | option('default-dnssec', type : 'combo', | |
315 | description : 'default DNSSEC mode', | |
316 | choices : ['yes', 'allow-downgrade', 'no'], | |
317 | value : 'allow-downgrade') | |
c9299be2 IT |
318 | option('default-dns-over-tls', type : 'combo', |
319 | description : 'default DNS-over-TLS mode', | |
4310bfc2 | 320 | choices : ['yes', 'opportunistic', 'no'], |
5d67a7ae | 321 | value : 'no') |
3614df05 ZJS |
322 | option('default-mdns', type : 'combo', |
323 | choices : ['yes', 'resolve', 'no'], | |
324 | description : 'default MulticastDNS mode', | |
325 | value : 'yes') | |
326 | option('default-llmnr', type : 'combo', | |
327 | choices : ['yes', 'resolve', 'no'], | |
328 | description : 'default LLMNR mode', | |
329 | value : 'yes') | |
096cbdce | 330 | option('dns-over-tls', type : 'combo', choices : ['auto', 'gnutls', 'openssl', 'true', 'false'], |
56ddbf10 | 331 | description : 'DNS-over-TLS support') |
5c23128d ZJS |
332 | option('dns-servers', type : 'string', |
333 | description : 'space-separated list of default DNS servers', | |
a83ddc08 | 334 | value : '1.1.1.1#cloudflare-dns.com 8.8.8.8#dns.google 1.0.0.1#cloudflare-dns.com 8.8.4.4#dns.google 2606:4700:4700::1111#cloudflare-dns.com 2001:4860:4860::8888#dns.google 2606:4700:4700::1001#cloudflare-dns.com 2001:4860:4860::8844#dns.google') |
5c23128d ZJS |
335 | option('ntp-servers', type : 'string', |
336 | description : 'space-separated list of default NTP servers', | |
337 | value : 'time1.google.com time2.google.com time3.google.com time4.google.com') | |
338 | option('support-url', type : 'string', | |
339 | description : 'the support URL to show in catalog entries included in systemd', | |
340 | value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel') | |
f75d75eb ZJS |
341 | option('www-target', type : 'string', |
342 | description : 'the address and dir to upload docs too', | |
343 | value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd') | |
5c23128d | 344 | |
4390be30 | 345 | option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 346 | description : 'SECCOMP support') |
4390be30 | 347 | option('selinux', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 348 | description : 'SELinux support') |
4390be30 | 349 | option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 350 | description : 'AppArmor support') |
5464ec8a | 351 | option('smack', type : 'boolean', |
5c23128d ZJS |
352 | description : 'SMACK support') |
353 | option('smack-run-label', type : 'string', | |
354 | description : 'run systemd --system itself with a specific SMACK label') | |
aa5ae971 ŁS |
355 | option('smack-default-process-label', type : 'string', |
356 | description : 'default SMACK label for executed processes') | |
4390be30 | 357 | option('polkit', type : 'combo', choices : ['auto', 'true', 'false'], |
d35f51ea | 358 | description : 'polkit support') |
2895c8ee ZJS |
359 | option('ima', type : 'boolean', |
360 | description : 'IMA support') | |
5c23128d | 361 | |
36f0387e ZJS |
362 | option('acl', type : 'combo', choices : ['auto', 'true', 'false'], |
363 | description : 'libacl support') | |
4390be30 | 364 | option('audit', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 365 | description : 'libaudit support') |
4390be30 | 366 | option('blkid', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 367 | description : 'libblkid support') |
e594a3b1 LP |
368 | option('fdisk', type : 'combo', choices : ['auto', 'true', 'false'], |
369 | description : 'libfdisk support') | |
4390be30 | 370 | option('kmod', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 371 | description : 'support for loadable modules') |
4390be30 | 372 | option('pam', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 373 | description : 'PAM support') |
70a5db58 LP |
374 | option('pwquality', type : 'combo', choices : ['auto', 'true', 'false'], |
375 | description : 'libpwquality support') | |
4390be30 | 376 | option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 377 | description : 'libµhttpd support') |
4390be30 | 378 | option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 379 | description : 'libcryptsetup support') |
d1ae38d8 OK |
380 | option('libcryptsetup-plugins', type : 'combo', choices : ['auto', 'true', 'false'], |
381 | description : 'libcryptsetup LUKS2 external token handlers support (plugins)') | |
4390be30 | 382 | option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 383 | description : 'libcurl support') |
d1bf5675 | 384 | option('idn', type : 'boolean', |
38b38500 | 385 | description : 'use IDN when printing hostnames') |
87057e24 ZJS |
386 | option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'], |
387 | description : 'libidn2 support') | |
4390be30 | 388 | option('libidn', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 389 | description : 'libidn support') |
4390be30 | 390 | option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 391 | description : 'libiptc support') |
4390be30 | 392 | option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 393 | description : 'libqrencode support') |
76c87410 MB |
394 | option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'], |
395 | description : 'gcrypt support') | |
4390be30 | 396 | option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 397 | description : 'gnutls support') |
096cbdce IT |
398 | option('openssl', type : 'combo', choices : ['auto', 'true', 'false'], |
399 | description : 'openssl support') | |
57633d23 ZJS |
400 | option('cryptolib', type : 'combo', choices : ['auto', 'openssl', 'gcrypt'], |
401 | description : 'whether to use openssl or gcrypt where both are supported') | |
839fddbe LP |
402 | option('p11kit', type : 'combo', choices : ['auto', 'true', 'false'], |
403 | description : 'p11kit support') | |
af4fbd46 LP |
404 | option('libfido2', type : 'combo', choices : ['auto', 'true', 'false'], |
405 | description : 'FIDO2 support') | |
5e521624 LP |
406 | option('tpm2', type : 'combo', choices : ['auto', 'true', 'false'], |
407 | description : 'TPM2 support') | |
4390be30 | 408 | option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 409 | description : 'elfutils support') |
4390be30 | 410 | option('zlib', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 411 | description : 'zlib compression support') |
4390be30 | 412 | option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 413 | description : 'bzip2 compression support') |
4390be30 | 414 | option('xz', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 415 | description : 'xz compression support') |
4390be30 | 416 | option('lz4', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 417 | description : 'lz4 compression support') |
ef5924aa NL |
418 | option('zstd', type : 'combo', choices : ['auto', 'true', 'false'], |
419 | description : 'zstd compression support') | |
cd3c6322 LB |
420 | option('default-compression', type : 'combo', choices : ['auto', 'zstd', 'lz4', 'xz'], value: 'auto', |
421 | description : 'default compression algorithm') | |
4390be30 | 422 | option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'], |
1eeb43f5 | 423 | description : 'xkbcommon keymap support') |
c4c978a0 ZJS |
424 | option('pcre2', type : 'combo', choices : ['auto', 'true', 'false'], |
425 | description : 'regexp matching support using pcre2') | |
4390be30 | 426 | option('glib', type : 'combo', choices : ['auto', 'true', 'false'], |
69e96427 | 427 | description : 'libglib support (for tests only)') |
4390be30 | 428 | option('dbus', type : 'combo', choices : ['auto', 'true', 'false'], |
69e96427 | 429 | description : 'libdbus support (for tests only)') |
5c23128d | 430 | |
4390be30 | 431 | option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'], |
b710072d | 432 | description : 'gnu-efi support for sd-boot') |
c0e4459e JJ |
433 | option('efi-cflags', type : 'array', |
434 | description : 'additional flags for EFI compiler') | |
fe330f02 JJ |
435 | # Note that LLD does not support PE/COFF relocations |
436 | # https://lists.llvm.org/pipermail/llvm-dev/2021-March/149234.html | |
1ad2c76d | 437 | option('efi-ld', type : 'combo', choices : ['auto', 'bfd', 'gold'], |
b710072d ZJS |
438 | description : 'the linker to use for EFI modules') |
439 | option('efi-libdir', type : 'string', | |
440 | description : 'path to the EFI lib directory') | |
b710072d ZJS |
441 | option('efi-includedir', type : 'string', value : '/usr/include/efi', |
442 | description : 'path to the EFI header directory') | |
4d32507f LP |
443 | option('efi-tpm-pcr-compat', type : 'boolean', value : 'false', |
444 | description : 'Measure kernel command line also into TPM PCR 8 (in addition to 12)') | |
252b6b1b | 445 | option('sbat-distro', type : 'string', value : 'auto', |
9137c03c DJL |
446 | description : 'SBAT distribution ID, e.g. fedora, or auto for autodetection') |
447 | option('sbat-distro-generation', type : 'integer', value : 1, | |
448 | description : 'SBAT distribution generation') | |
449 | option('sbat-distro-summary', type : 'string', | |
450 | description : 'SBAT distribution summary, e.g. Fedora') | |
451 | option('sbat-distro-pkgname', type : 'string', | |
452 | description : 'SBAT distribution package name, e.g. systemd') | |
453 | option('sbat-distro-version', type : 'string', | |
454 | description : 'SBAT distribution package version, e.g. 248-7.fc34') | |
455 | option('sbat-distro-url', type : 'string', | |
456 | description : 'SBAT distribution URL, e.g. https://src.fedoraproject.org/rpms/systemd') | |
e313e934 JJ |
457 | option('efi-color-normal', type : 'string', value : 'lightgray,black', |
458 | description : 'general boot loader color in "foreground,background" form, see constants from eficon.h') | |
459 | option('efi-color-entry', type : 'string', value : 'lightgray,black', | |
460 | description : 'boot loader color for entries') | |
461 | option('efi-color-highlight', type : 'string', value : 'black,lightgray', | |
462 | description : 'boot loader color for selected entries') | |
2e65d610 | 463 | option('efi-color-edit', type : 'string', value : 'black,lightgray', |
e313e934 | 464 | description : 'boot loader color for option line edit') |
b710072d | 465 | |
5c23128d ZJS |
466 | option('bashcompletiondir', type : 'string', |
467 | description : 'directory for bash completion scripts ["no" disables]') | |
468 | option('zshcompletiondir', type : 'string', | |
469 | description : 'directory for zsh completion scripts ["no" disables]') | |
69e96427 | 470 | |
08318a2c | 471 | option('tests', type : 'combo', choices : ['true', 'unsafe', 'false'], |
69e96427 | 472 | description : 'enable extra tests with =unsafe') |
00d82c81 ZJS |
473 | option('slow-tests', type : 'boolean', value : 'false', |
474 | description : 'run the slow tests by default') | |
c56463fd | 475 | option('fuzz-tests', type : 'boolean', value : 'false', |
f78ad5f0 | 476 | description : 'run the fuzzer regression tests by default (with sanitizers)') |
572baca1 ZJS |
477 | option('install-tests', type : 'boolean', value : 'false', |
478 | description : 'install test executables') | |
011a03a3 | 479 | option('log-message-verification', type : 'combo', choices : ['auto', 'true', 'false'], |
b9ce5cf9 | 480 | description : 'do fake printf() calls to verify format strings') |
7db7d5b7 | 481 | |
ceedbf81 | 482 | option('ok-color', type : 'combo', |
96164a39 | 483 | choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', |
f7c5427c ZJS |
484 | 'white', 'highlight-black', 'highlight-red', 'highlight-green', |
485 | 'highlight-yellow', 'highlight-blue', 'highlight-magenta', | |
486 | 'highlight-cyan', 'highlight-white'], | |
96164a39 AR |
487 | value : 'green', |
488 | description: 'color of the "OK" status message') | |
e5d86ebe JH |
489 | option('urlify', type : 'boolean', value : 'true', |
490 | description : 'enable pager Hyperlink ANSI sequence support') | |
ceedbf81 ZJS |
491 | option('fexecve', type : 'boolean', value : 'false', |
492 | description : 'use fexecve() to spawn children') | |
96164a39 | 493 | |
7db7d5b7 JR |
494 | option('oss-fuzz', type : 'boolean', value : 'false', |
495 | description : 'build against oss-fuzz') | |
31e57a35 JR |
496 | option('llvm-fuzz', type : 'boolean', value : 'false', |
497 | description : 'build against LLVM libFuzzer') | |
5fa5c3e2 | 498 | option('kernel-install', type: 'boolean', value: 'true', |
f30bf4d9 | 499 | description : 'install kernel-install and associated files') |
dd0f7952 | 500 | option('analyze', type: 'boolean', value: 'true', |
f30bf4d9 | 501 | description : 'install systemd-analyze') |
7d861e12 | 502 | |
76abad4d JH |
503 | option('bpf-compiler', type : 'combo', choices : ['clang', 'gcc'], |
504 | description: 'compiler used to build BPF programs, note: gcc is experimental') | |
7d861e12 JK |
505 | option('bpf-framework', type : 'combo', choices : ['auto', 'true', 'false'], |
506 | description: 'build BPF programs from source code in restricted C') | |
678ba020 EV |
507 | |
508 | option('skip-deps', type : 'boolean', value : 'false', | |
509 | description : 'skip optional dependencies') |