]>
Commit | Line | Data |
---|---|---|
81c58355 | 1 | # -*- mode: meson -*- |
52ad194e | 2 | # SPDX-License-Identifier: LGPL-2.1+ |
81c58355 | 3 | |
7c20daf6 FS |
4 | option('version-tag', type : 'string', |
5 | description : 'override the git version string') | |
6 | ||
98393f85 MB |
7 | option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'], |
8 | description : '''/bin, /sbin aren't symlinks into /usr''') | |
9 | option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'], | |
10 | description : '''sbin is not a symlink to bin''') | |
81c58355 MB |
11 | option('rootlibdir', type : 'string', |
12 | description : '''[/usr]/lib/x86_64-linux-gnu or such''') | |
13 | option('rootprefix', type : 'string', | |
bb4f798a | 14 | description : '''override the root prefix [default '/' if split-usr and '/usr' otherwise]''') |
81c58355 MB |
15 | option('link-udev-shared', type : 'boolean', |
16 | description : 'link systemd-udev and its helpers to libsystemd-shared.so') | |
b012e921 MB |
17 | option('link-systemctl-shared', type: 'boolean', |
18 | description : 'link systemctl against libsystemd-shared.so') | |
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''') | |
81c58355 MB |
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') | |
1d42b86d MB |
30 | option('telinit-path', type : 'string', value : '/lib/sysvinit/telinit', |
31 | description : 'path to telinit') | |
81c58355 MB |
32 | option('rc-local', type : 'string', |
33 | value : '/etc/rc.local') | |
34 | option('halt-local', type : 'string', | |
35 | value : '/usr/sbin/halt.local') | |
36 | ||
37 | option('quotaon-path', type : 'string', description : 'path to quotaon') | |
38 | option('quotacheck-path', type : 'string', description : 'path to quotacheck') | |
81c58355 MB |
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 | ||
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') | |
6e866b33 | 51 | option('debug-extra', type : 'array', choices : ['hashmap', 'mmap-cache', 'siphash', 'udev'], value : [], |
b012e921 | 52 | description : 'enable extra debugging') |
98393f85 MB |
53 | option('memory-accounting-default', type : 'boolean', |
54 | description : 'enable MemoryAccounting= by default') | |
6e866b33 MB |
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') | |
b012e921 MB |
59 | option('valgrind', type : 'boolean', value : false, |
60 | description : 'do extra operations to avoid valgrind warnings') | |
6e866b33 MB |
61 | option('log-trace', type : 'boolean', value : false, |
62 | description : 'enable low level debug logging') | |
81c58355 MB |
63 | |
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', | |
73 | description : 'enable systemd-boot and bootctl') | |
f5e65279 | 74 | option('tpm', type : 'boolean', |
81c58355 MB |
75 | description : 'TPM should be used to log events and extend the registers') |
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') | |
b012e921 MB |
90 | option('portabled', type : 'boolean', |
91 | description : 'install the systemd-portabled stack') | |
81c58355 MB |
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') | |
f5e65279 | 98 | option('remote', type : 'combo', choices : ['auto', 'true', 'false'], |
81c58355 | 99 | description : 'support for "journal over the network"') |
6e866b33 MB |
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') | |
81c58355 MB |
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') | |
f5e65279 | 122 | option('importd', type : 'combo', choices : ['auto', 'true', 'false'], |
81c58355 MB |
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') | |
128 | option('man', type : 'combo', choices : ['auto', 'true', 'false'], | |
129 | description : 'build and install man pages') | |
130 | option('html', type : 'combo', choices : ['auto', 'true', 'false'], | |
131 | value : 'false', | |
132 | description : 'build and install html pages') | |
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') | |
6e866b33 | 142 | option('pkgconfigdatadir', type : 'string', value : '', |
81c58355 MB |
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]') | |
98393f85 MB |
152 | option('docdir', type : 'string', |
153 | description : 'documentation directory') | |
81c58355 MB |
154 | |
155 | option('fallback-hostname', type : 'string', value : 'localhost', | |
156 | description : 'the hostname used if none configured') | |
f5e65279 MB |
157 | option('compat-gateway-hostname', type : 'boolean', value : 'false', |
158 | description : 'allow "gateway" as the symbolic name for default gateway') | |
81c58355 MB |
159 | option('default-hierarchy', type : 'combo', |
160 | choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid', | |
161 | description : 'default cgroup hierarchy') | |
6e866b33 MB |
162 | option('default-net-naming-scheme', type : 'combo', |
163 | choices : ['latest', 'v238', 'v239', 'v240'], | |
164 | description : 'default net.naming-scheme= value') | |
165 | option('time-epoch', type : 'integer', value : '-1', | |
81c58355 | 166 | description : 'time epoch for time clients') |
6e866b33 | 167 | option('system-uid-max', type : 'integer', value : '-1', |
81c58355 | 168 | description : 'maximum system UID') |
6e866b33 | 169 | option('system-gid-max', type : 'integer', value : '-1', |
81c58355 | 170 | description : 'maximum system GID') |
6e866b33 MB |
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', | |
52ad194e | 182 | description : 'the numeric GID of the "users" group') |
81c58355 MB |
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') | |
52ad194e | 193 | option('dev-kvm-mode', type : 'string', value : '0666', |
81c58355 | 194 | description : '/dev/kvm access mode') |
52ad194e MB |
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).') | |
81c58355 MB |
197 | option('default-kill-user-processes', type : 'boolean', |
198 | description : 'the default value for KillUserProcesses= setting') | |
199 | option('gshadow', type : 'boolean', | |
200 | description : 'support for shadow group') | |
7c20daf6 FS |
201 | option('default-locale', type : 'string', value : '', |
202 | description : 'default locale used when /etc/locale.conf does not exist') | |
81c58355 MB |
203 | |
204 | option('default-dnssec', type : 'combo', | |
205 | description : 'default DNSSEC mode', | |
206 | choices : ['yes', 'allow-downgrade', 'no'], | |
207 | value : 'allow-downgrade') | |
b012e921 MB |
208 | option('default-dns-over-tls', type : 'combo', |
209 | description : 'default DNS-over-TLS mode', | |
210 | choices : ['opportunistic', 'no'], | |
211 | value : 'no') | |
6e866b33 | 212 | option('dns-over-tls', type : 'combo', choices : ['auto', 'gnutls', 'openssl', 'true', 'false'], |
b012e921 | 213 | description : 'DNS-over-TLS support') |
81c58355 MB |
214 | option('dns-servers', type : 'string', |
215 | description : 'space-separated list of default DNS servers', | |
bb4f798a | 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') |
81c58355 MB |
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') | |
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') | |
226 | ||
227 | option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'], | |
228 | description : 'SECCOMP support') | |
229 | option('selinux', type : 'combo', choices : ['auto', 'true', 'false'], | |
230 | description : 'SELinux support') | |
231 | option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'], | |
232 | description : 'AppArmor support') | |
233 | option('smack', type : 'boolean', | |
234 | description : 'SMACK support') | |
235 | option('smack-run-label', type : 'string', | |
236 | description : 'run systemd --system itself with a specific SMACK label') | |
237 | option('polkit', type : 'combo', choices : ['auto', 'true', 'false'], | |
6e866b33 | 238 | description : 'polkit support') |
81c58355 MB |
239 | option('ima', type : 'boolean', |
240 | description : 'IMA support') | |
241 | ||
242 | option('acl', type : 'combo', choices : ['auto', 'true', 'false'], | |
243 | description : 'libacl support') | |
244 | option('audit', type : 'combo', choices : ['auto', 'true', 'false'], | |
245 | description : 'libaudit support') | |
246 | option('blkid', type : 'combo', choices : ['auto', 'true', 'false'], | |
247 | description : 'libblkid support') | |
248 | option('kmod', type : 'combo', choices : ['auto', 'true', 'false'], | |
249 | description : 'support for loadable modules') | |
250 | option('pam', type : 'combo', choices : ['auto', 'true', 'false'], | |
251 | description : 'PAM support') | |
252 | option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'], | |
253 | description : 'libµhttpd support') | |
254 | option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'], | |
255 | description : 'libcryptsetup support') | |
256 | option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'], | |
257 | description : 'libcurl support') | |
258 | option('idn', type : 'boolean', | |
259 | description : 'use IDN when printing host names') | |
260 | option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'], | |
261 | description : 'libidn2 support') | |
262 | option('libidn', type : 'combo', choices : ['auto', 'true', 'false'], | |
263 | description : 'libidn support') | |
81c58355 MB |
264 | option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'], |
265 | description : 'libiptc support') | |
266 | option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'], | |
267 | description : 'libqrencode support') | |
268 | option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'], | |
269 | description : 'gcrypt support') | |
270 | option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'], | |
271 | description : 'gnutls support') | |
6e866b33 MB |
272 | option('openssl', type : 'combo', choices : ['auto', 'true', 'false'], |
273 | description : 'openssl support') | |
81c58355 MB |
274 | option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'], |
275 | description : 'elfutils support') | |
276 | option('zlib', type : 'combo', choices : ['auto', 'true', 'false'], | |
277 | description : 'zlib compression support') | |
278 | option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'], | |
279 | description : 'bzip2 compression support') | |
280 | option('xz', type : 'combo', choices : ['auto', 'true', 'false'], | |
281 | description : 'xz compression support') | |
282 | option('lz4', type : 'combo', choices : ['auto', 'true', 'false'], | |
283 | description : 'lz4 compression support') | |
284 | option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'], | |
285 | description : 'xkbcommon keymap support') | |
1d42b86d MB |
286 | option('pcre2', type : 'combo', choices : ['auto', 'true', 'false'], |
287 | description : 'regexp matching support using pcre2') | |
81c58355 MB |
288 | option('glib', type : 'combo', choices : ['auto', 'true', 'false'], |
289 | description : 'libglib support (for tests only)') | |
290 | option('dbus', type : 'combo', choices : ['auto', 'true', 'false'], | |
291 | description : 'libdbus support (for tests only)') | |
292 | ||
293 | option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'], | |
294 | description : 'gnu-efi support for sd-boot') | |
6e866b33 | 295 | option('efi-cc', type : 'array', |
81c58355 | 296 | description : 'the compiler to use for EFI modules') |
6e866b33 | 297 | option('efi-ld', type : 'string', |
81c58355 MB |
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') | |
6e866b33 | 305 | option('tpm-pcrindex', type : 'integer', value : 8, |
81c58355 MB |
306 | description : 'TPM PCR register number to use') |
307 | ||
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]') | |
312 | ||
1d42b86d | 313 | option('tests', type : 'combo', choices : ['true', 'unsafe', 'false'], |
81c58355 | 314 | description : 'enable extra tests with =unsafe') |
f5e65279 MB |
315 | option('slow-tests', type : 'boolean', value : 'false', |
316 | description : 'run the slow tests by default') | |
81c58355 MB |
317 | option('install-tests', type : 'boolean', value : 'false', |
318 | description : 'install test executables') | |
1d42b86d | 319 | |
98393f85 MB |
320 | option('ok-color', type: 'combo', |
321 | choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', | |
322 | 'white', 'highlight-black', 'highlight-red', 'highlight-green', | |
323 | 'highlight-yellow', 'highlight-blue', 'highlight-magenta', | |
324 | 'highlight-cyan', 'highlight-white'], | |
325 | value : 'green', | |
326 | description: 'color of the "OK" status message') | |
327 | ||
1d42b86d MB |
328 | option('oss-fuzz', type : 'boolean', value : 'false', |
329 | description : 'build against oss-fuzz') | |
330 | option('llvm-fuzz', type : 'boolean', value : 'false', | |
331 | description : 'build against LLVM libFuzzer') |