]>
Commit | Line | Data |
---|---|---|
5c23128d | 1 | # -*- mode: meson -*- |
3a726fcd | 2 | # SPDX-License-Identifier: LGPL-2.1+ |
5c23128d | 3 | |
e1ca734e ZJS |
4 | option('version-tag', type : 'string', |
5 | description : 'override the git version string') | |
6 | ||
2675413e ZJS |
7 | option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'], |
8 | description : '''/bin, /sbin aren't symlinks into /usr''') | |
157baa87 ZJS |
9 | option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'], |
10 | description : '''sbin is not a symlink to bin''') | |
5c23128d ZJS |
11 | option('rootlibdir', type : 'string', |
12 | description : '''[/usr]/lib/x86_64-linux-gnu or such''') | |
74344a17 | 13 | option('rootprefix', type : 'string', |
80599eb0 | 14 | description : '''override the root prefix [default '/' if split-usr and '/usr' otherwise]''') |
3a30f21f ZJS |
15 | option('link-udev-shared', type : 'boolean', |
16 | description : 'link systemd-udev and its helpers to libsystemd-shared.so') | |
f3794366 FS |
17 | option('link-systemctl-shared', type: 'boolean', |
18 | description : 'link systemctl against libsystemd-shared.so') | |
70848ecf DC |
19 | option('static-libsystemd', type : 'combo', |
20 | choices : ['false', 'true', 'pic', 'no-pic'], | |
21 | description : '''install a static library for libsystemd''') | |
22 | option('static-libudev', type : 'combo', | |
23 | choices : ['false', 'true', 'pic', 'no-pic'], | |
24 | description : '''install a static library for libudev''') | |
5c23128d ZJS |
25 | |
26 | option('sysvinit-path', type : 'string', value : '/etc/init.d', | |
27 | description : 'the directory where the SysV init scripts are located') | |
28 | option('sysvrcnd-path', type : 'string', value : '/etc/rc.d', | |
29 | description : 'the base directory for SysV rcN.d directories') | |
2fa645f1 MG |
30 | option('telinit-path', type : 'string', value : '/lib/sysvinit/telinit', |
31 | description : 'path to telinit') | |
2a4c156d ZJS |
32 | option('rc-local', type : 'string', |
33 | value : '/etc/rc.local') | |
5c23128d ZJS |
34 | |
35 | option('quotaon-path', type : 'string', description : 'path to quotaon') | |
36 | option('quotacheck-path', type : 'string', description : 'path to quotacheck') | |
5c23128d ZJS |
37 | option('kmod-path', type : 'string', description : 'path to kmod') |
38 | option('kexec-path', type : 'string', description : 'path to kexec') | |
39 | option('sulogin-path', type : 'string', description : 'path to sulogin') | |
40 | option('mount-path', type : 'string', description : 'path to mount') | |
41 | option('umount-path', type : 'string', description : 'path to umount') | |
42 | option('loadkeys-path', type : 'string', description : 'path to loadkeys') | |
43 | option('setfont-path', type : 'string', description : 'path to setfont') | |
6db90462 | 44 | option('nologin-path', type : 'string', description : 'path to nologin') |
5c23128d | 45 | |
3131bfe3 ZJS |
46 | option('debug-shell', type : 'string', value : '/bin/sh', |
47 | description : 'path to debug shell binary') | |
48 | option('debug-tty', type : 'string', value : '/dev/tty9', | |
49 | description : 'specify the tty device for debug shell') | |
6c092dbe | 50 | option('debug-extra', type : 'array', choices : ['hashmap', 'mmap-cache', 'siphash'], value : [], |
ad7aa760 | 51 | description : 'enable extra debugging') |
444d5863 ZJS |
52 | option('memory-accounting-default', type : 'boolean', |
53 | description : 'enable MemoryAccounting= by default') | |
a8b627aa LP |
54 | option('bump-proc-sys-fs-file-max', type : 'boolean', |
55 | description : 'bump /proc/sys/fs/file-max to ULONG_MAX') | |
56 | option('bump-proc-sys-fs-nr-open', type : 'boolean', | |
57 | description : 'bump /proc/sys/fs/nr_open to INT_MAX') | |
d18cb393 ZJS |
58 | option('valgrind', type : 'boolean', value : false, |
59 | description : 'do extra operations to avoid valgrind warnings') | |
fd5dec9a ZJS |
60 | option('log-trace', type : 'boolean', value : false, |
61 | description : 'enable low level debug logging') | |
3131bfe3 | 62 | |
5c23128d ZJS |
63 | option('utmp', type : 'boolean', |
64 | description : 'support for utmp/wtmp log handling') | |
65 | option('hibernate', type : 'boolean', | |
66 | description : 'support for hibernation') | |
67 | option('ldconfig', type : 'boolean', | |
68 | description : 'support for dynamic linker cache creation') | |
69 | option('resolve', type : 'boolean', | |
70 | description : 'systemd-resolved stack') | |
71 | option('efi', type : 'boolean', | |
8191c594 | 72 | description : 'enable systemd-boot and bootctl') |
cd4823f6 | 73 | option('tpm', type : 'boolean', |
80c6fce8 | 74 | description : 'TPM should be used to log events and extend the registers') |
5c23128d ZJS |
75 | option('environment-d', type : 'boolean', |
76 | description : 'support for environment.d') | |
77 | option('binfmt', type : 'boolean', | |
78 | description : 'support for custom binary formats') | |
79 | option('coredump', type : 'boolean', | |
80 | description : 'install the coredump handler') | |
9b4abc69 ED |
81 | option('pstore', type : 'boolean', |
82 | description : 'install the pstore archival tool') | |
5c23128d ZJS |
83 | option('logind', type : 'boolean', |
84 | description : 'install the systemd-logind stack') | |
85 | option('hostnamed', type : 'boolean', | |
86 | description : 'install the systemd-hostnamed stack') | |
87 | option('localed', type : 'boolean', | |
88 | description : 'install the systemd-localed stack') | |
89 | option('machined', type : 'boolean', | |
90 | description : 'install the systemd-machined stack') | |
61d0578b LP |
91 | option('portabled', type : 'boolean', |
92 | description : 'install the systemd-portabled stack') | |
5c23128d ZJS |
93 | option('networkd', type : 'boolean', |
94 | description : 'install the systemd-networkd stack') | |
95 | option('timedated', type : 'boolean', | |
96 | description : 'install the systemd-timedated daemon') | |
97 | option('timesyncd', type : 'boolean', | |
98 | description : 'install the systemd-timesyncd daemon') | |
b1519d65 | 99 | option('remote', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 100 | description : 'support for "journal over the network"') |
6ed5ef98 ZJS |
101 | option('create-log-dirs', type : 'boolean', |
102 | description : 'create /var/log/journal{,/remote}') | |
08540a95 YW |
103 | option('nss-myhostname', type : 'boolean', |
104 | description : 'install nss-myhostname module') | |
105 | option('nss-mymachines', type : 'combo', choices : ['auto', 'true', 'false'], | |
106 | description : 'install nss-mymachines module') | |
107 | option('nss-resolve', type : 'combo', choices : ['auto', 'true', 'false'], | |
108 | description : 'install nss-resolve module') | |
109 | option('nss-systemd', type : 'boolean', | |
110 | description : 'install nss-systemd module') | |
5c23128d ZJS |
111 | option('firstboot', type : 'boolean', |
112 | description : 'support for firstboot mechanism') | |
113 | option('randomseed', type : 'boolean', | |
114 | description : 'support for restoring random seed') | |
115 | option('backlight', type : 'boolean', | |
116 | description : 'support for restoring backlight state') | |
117 | option('vconsole', type : 'boolean', | |
118 | description : 'support for vconsole configuration') | |
119 | option('quotacheck', type : 'boolean', | |
120 | description : 'support for the quotacheck tools') | |
121 | option('sysusers', type : 'boolean', | |
122 | description : 'support for the sysusers configuration') | |
123 | option('tmpfiles', type : 'boolean', | |
124 | description : 'support for tmpfiles.d') | |
b1519d65 | 125 | option('importd', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d ZJS |
126 | description : 'install the systemd-importd daemon') |
127 | option('hwdb', type : 'boolean', | |
128 | description : 'support for the hardware database') | |
129 | option('rfkill', type : 'boolean', | |
130 | description : 'support for the rfkill tools') | |
4390be30 | 131 | option('man', type : 'combo', choices : ['auto', 'true', 'false'], |
0b0673b6 | 132 | value : 'false', |
527d43d7 | 133 | description : 'build and install man pages') |
4390be30 ZJS |
134 | option('html', type : 'combo', choices : ['auto', 'true', 'false'], |
135 | value : 'false', | |
527d43d7 | 136 | description : 'build and install html pages') |
5c23128d ZJS |
137 | |
138 | option('certificate-root', type : 'string', value : '/etc/ssl', | |
139 | description : 'the prefix for TLS certificates') | |
140 | option('dbuspolicydir', type : 'string', | |
141 | description : 'D-Bus policy directory') | |
142 | option('dbussessionservicedir', type : 'string', | |
143 | description : 'D-Bus session service directory') | |
144 | option('dbussystemservicedir', type : 'string', | |
145 | description : 'D-Bus system service directory') | |
a95696e3 | 146 | option('pkgconfigdatadir', type : 'string', value : '', |
f62b08dd | 147 | description : 'directory for arch-independent pkg-config files') |
5c23128d | 148 | option('pkgconfiglibdir', type : 'string', value : '', |
f62b08dd | 149 | description : 'directory for standard pkg-config files') |
5c23128d ZJS |
150 | option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d', |
151 | description : 'directory for rpm macros ["no" disables]') | |
152 | option('pamlibdir', type : 'string', | |
153 | description : 'directory for PAM modules') | |
154 | option('pamconfdir', type : 'string', | |
155 | description : 'directory for PAM configuration ["no" disables]') | |
75aaade1 TB |
156 | option('docdir', type : 'string', |
157 | description : 'documentation directory') | |
5c23128d ZJS |
158 | |
159 | option('fallback-hostname', type : 'string', value : 'localhost', | |
160 | description : 'the hostname used if none configured') | |
5248e7e1 ZJS |
161 | option('compat-gateway-hostname', type : 'boolean', value : 'false', |
162 | description : 'allow "gateway" as the symbolic name for default gateway') | |
5c23128d | 163 | option('default-hierarchy', type : 'combo', |
87cf1f8f | 164 | choices : ['legacy', 'hybrid', 'unified'], value : 'unified', |
5c23128d | 165 | description : 'default cgroup hierarchy') |
06da5c63 ZJS |
166 | option('default-net-naming-scheme', type : 'combo', |
167 | choices : ['latest', 'v238', 'v239', 'v240'], | |
168 | description : 'default net.naming-scheme= value') | |
36cf4507 ZJS |
169 | option('status-unit-format-default', type : 'combo', |
170 | choices : ['description', 'name'], | |
171 | description : 'use unit name or description in messages by default') | |
ac09340e | 172 | option('time-epoch', type : 'integer', value : '-1', |
5c23128d | 173 | description : 'time epoch for time clients') |
ac09340e | 174 | option('system-uid-max', type : 'integer', value : '-1', |
5c23128d | 175 | description : 'maximum system UID') |
ac09340e | 176 | option('system-gid-max', type : 'integer', value : '-1', |
5c23128d | 177 | description : 'maximum system GID') |
ac09340e YW |
178 | option('dynamic-uid-min', type : 'integer', value : 0x0000EF00, |
179 | description : 'minimum dynamic UID') | |
180 | option('dynamic-uid-max', type : 'integer', value : 0x0000FFEF, | |
181 | description : 'maximum dynamic UID') | |
182 | option('container-uid-base-min', type : 'integer', value : 0x00080000, | |
183 | description : 'minimum container UID base') | |
184 | option('container-uid-base-max', type : 'integer', value : 0x6FFF0000, | |
185 | description : 'maximum container UID base') | |
186 | option('tty-gid', type : 'integer', value : 5, | |
187 | description : 'the numeric GID of the "tty" group') | |
188 | option('users-gid', type : 'integer', value : '-1', | |
84786b8e | 189 | description : 'the numeric GID of the "users" group') |
5c23128d ZJS |
190 | option('adm-group', type : 'boolean', |
191 | description : 'the ACL for adm group should be added') | |
192 | option('wheel-group', type : 'boolean', | |
193 | description : 'the ACL for wheel group should be added') | |
194 | option('nobody-user', type : 'string', | |
195 | description : 'The name of the nobody user (the one with UID 65534)', | |
196 | value : 'nobody') | |
197 | option('nobody-group', type : 'string', | |
198 | description : 'The name of the nobody group (the one with GID 65534)', | |
199 | value : 'nobody') | |
b8fd3d82 | 200 | option('dev-kvm-mode', type : 'string', value : '0666', |
5c23128d | 201 | description : '/dev/kvm access mode') |
4e15a734 TS |
202 | option('group-render-mode', type : 'string', value : '0666', |
203 | description : 'Access mode for devices owned by render group (e.g. /dev/dri/renderD*, /dev/kfd).') | |
5c23128d ZJS |
204 | option('default-kill-user-processes', type : 'boolean', |
205 | description : 'the default value for KillUserProcesses= setting') | |
b14e1b43 FB |
206 | option('gshadow', type : 'boolean', |
207 | description : 'support for shadow group') | |
03475e22 | 208 | option('default-locale', type : 'string', value : '', |
8ca9e92c | 209 | description : 'default locale used when /etc/locale.conf does not exist') |
21d0dd5a ZJS |
210 | option('service-watchdog', type : 'string', value : '3min', |
211 | description : 'default watchdog setting for systemd services') | |
5c23128d ZJS |
212 | |
213 | option('default-dnssec', type : 'combo', | |
214 | description : 'default DNSSEC mode', | |
215 | choices : ['yes', 'allow-downgrade', 'no'], | |
216 | value : 'allow-downgrade') | |
c9299be2 IT |
217 | option('default-dns-over-tls', type : 'combo', |
218 | description : 'default DNS-over-TLS mode', | |
4310bfc2 | 219 | choices : ['yes', 'opportunistic', 'no'], |
5d67a7ae | 220 | value : 'no') |
096cbdce | 221 | option('dns-over-tls', type : 'combo', choices : ['auto', 'gnutls', 'openssl', 'true', 'false'], |
56ddbf10 | 222 | description : 'DNS-over-TLS support') |
5c23128d ZJS |
223 | option('dns-servers', type : 'string', |
224 | description : 'space-separated list of default DNS servers', | |
def3c7c7 | 225 | value : '1.1.1.1 8.8.8.8 1.0.0.1 8.8.4.4 2606:4700:4700::1111 2001:4860:4860::8888 2606:4700:4700::1001 2001:4860:4860::8844') |
5c23128d ZJS |
226 | option('ntp-servers', type : 'string', |
227 | description : 'space-separated list of default NTP servers', | |
228 | value : 'time1.google.com time2.google.com time3.google.com time4.google.com') | |
229 | option('support-url', type : 'string', | |
230 | description : 'the support URL to show in catalog entries included in systemd', | |
231 | value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel') | |
f75d75eb ZJS |
232 | option('www-target', type : 'string', |
233 | description : 'the address and dir to upload docs too', | |
234 | value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd') | |
5c23128d | 235 | |
4390be30 | 236 | option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 237 | description : 'SECCOMP support') |
4390be30 | 238 | option('selinux', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 239 | description : 'SELinux support') |
4390be30 | 240 | option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 241 | description : 'AppArmor support') |
5464ec8a | 242 | option('smack', type : 'boolean', |
5c23128d ZJS |
243 | description : 'SMACK support') |
244 | option('smack-run-label', type : 'string', | |
245 | description : 'run systemd --system itself with a specific SMACK label') | |
4390be30 | 246 | option('polkit', type : 'combo', choices : ['auto', 'true', 'false'], |
d35f51ea | 247 | description : 'polkit support') |
2895c8ee ZJS |
248 | option('ima', type : 'boolean', |
249 | description : 'IMA support') | |
5c23128d | 250 | |
36f0387e ZJS |
251 | option('acl', type : 'combo', choices : ['auto', 'true', 'false'], |
252 | description : 'libacl support') | |
4390be30 | 253 | option('audit', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 254 | description : 'libaudit support') |
4390be30 | 255 | option('blkid', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 256 | description : 'libblkid support') |
4390be30 | 257 | option('kmod', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 258 | description : 'support for loadable modules') |
4390be30 | 259 | option('pam', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 260 | description : 'PAM support') |
4390be30 | 261 | option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 262 | description : 'libµhttpd support') |
4390be30 | 263 | option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 264 | description : 'libcryptsetup support') |
4390be30 | 265 | option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 266 | description : 'libcurl support') |
d1bf5675 ZJS |
267 | option('idn', type : 'boolean', |
268 | description : 'use IDN when printing host names') | |
87057e24 ZJS |
269 | option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'], |
270 | description : 'libidn2 support') | |
4390be30 | 271 | option('libidn', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 272 | description : 'libidn support') |
4390be30 | 273 | option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 274 | description : 'libiptc support') |
4390be30 | 275 | option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 276 | description : 'libqrencode support') |
76c87410 MB |
277 | option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'], |
278 | description : 'gcrypt support') | |
4390be30 | 279 | option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 280 | description : 'gnutls support') |
096cbdce IT |
281 | option('openssl', type : 'combo', choices : ['auto', 'true', 'false'], |
282 | description : 'openssl support') | |
4390be30 | 283 | option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 284 | description : 'elfutils support') |
4390be30 | 285 | option('zlib', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 286 | description : 'zlib compression support') |
4390be30 | 287 | option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 288 | description : 'bzip2 compression support') |
4390be30 | 289 | option('xz', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 290 | description : 'xz compression support') |
4390be30 | 291 | option('lz4', type : 'combo', choices : ['auto', 'true', 'false'], |
5c23128d | 292 | description : 'lz4 compression support') |
4390be30 | 293 | option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'], |
1eeb43f5 | 294 | description : 'xkbcommon keymap support') |
c4c978a0 ZJS |
295 | option('pcre2', type : 'combo', choices : ['auto', 'true', 'false'], |
296 | description : 'regexp matching support using pcre2') | |
4390be30 | 297 | option('glib', type : 'combo', choices : ['auto', 'true', 'false'], |
69e96427 | 298 | description : 'libglib support (for tests only)') |
4390be30 | 299 | option('dbus', type : 'combo', choices : ['auto', 'true', 'false'], |
69e96427 | 300 | description : 'libdbus support (for tests only)') |
5c23128d | 301 | |
4390be30 | 302 | option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'], |
b710072d | 303 | description : 'gnu-efi support for sd-boot') |
595343fb | 304 | option('efi-cc', type : 'array', |
b710072d | 305 | description : 'the compiler to use for EFI modules') |
df7cacae | 306 | option('efi-ld', type : 'string', |
b710072d ZJS |
307 | description : 'the linker to use for EFI modules') |
308 | option('efi-libdir', type : 'string', | |
309 | description : 'path to the EFI lib directory') | |
310 | option('efi-ldsdir', type : 'string', | |
311 | description : 'path to the EFI lds directory') | |
312 | option('efi-includedir', type : 'string', value : '/usr/include/efi', | |
313 | description : 'path to the EFI header directory') | |
ac09340e | 314 | option('tpm-pcrindex', type : 'integer', value : 8, |
80c6fce8 | 315 | description : 'TPM PCR register number to use') |
b710072d | 316 | |
5c23128d ZJS |
317 | option('bashcompletiondir', type : 'string', |
318 | description : 'directory for bash completion scripts ["no" disables]') | |
319 | option('zshcompletiondir', type : 'string', | |
320 | description : 'directory for zsh completion scripts ["no" disables]') | |
69e96427 | 321 | |
08318a2c | 322 | option('tests', type : 'combo', choices : ['true', 'unsafe', 'false'], |
69e96427 | 323 | description : 'enable extra tests with =unsafe') |
00d82c81 ZJS |
324 | option('slow-tests', type : 'boolean', value : 'false', |
325 | description : 'run the slow tests by default') | |
572baca1 ZJS |
326 | option('install-tests', type : 'boolean', value : 'false', |
327 | description : 'install test executables') | |
7db7d5b7 | 328 | |
96164a39 AR |
329 | option('ok-color', type: 'combo', |
330 | choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', | |
f7c5427c ZJS |
331 | 'white', 'highlight-black', 'highlight-red', 'highlight-green', |
332 | 'highlight-yellow', 'highlight-blue', 'highlight-magenta', | |
333 | 'highlight-cyan', 'highlight-white'], | |
96164a39 AR |
334 | value : 'green', |
335 | description: 'color of the "OK" status message') | |
336 | ||
7db7d5b7 JR |
337 | option('oss-fuzz', type : 'boolean', value : 'false', |
338 | description : 'build against oss-fuzz') | |
31e57a35 JR |
339 | option('llvm-fuzz', type : 'boolean', value : 'false', |
340 | description : 'build against LLVM libFuzzer') | |
87ac55a1 EV |
341 | option('fuzzbuzz', type : 'boolean', value : 'false', |
342 | description : 'build against FuzzBuzz') | |
343 | option('fuzzbuzz-engine', type : 'string', | |
344 | description : 'the name of the FuzzBuzz fuzzing engine') | |
345 | option('fuzzbuzz-engine-dir', type : 'string', | |
346 | description : 'the directory where the FuzzBuzz fuzzing engine is') |