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