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