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