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