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