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