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