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