]> git.ipfire.org Git - thirdparty/systemd.git/blame - meson_options.txt
Add x-systemd.makefs option for fstab
[thirdparty/systemd.git] / meson_options.txt
CommitLineData
5c23128d 1# -*- mode: meson -*-
3a726fcd
ZJS
2# SPDX-License-Identifier: LGPL-2.1+
3#
4# Copyright 2017 Zbigniew Jędrzejewski-Szmek
5#
6# systemd is free software; you can redistribute it and/or modify it
7# under the terms of the GNU Lesser General Public License as published by
8# the Free Software Foundation; either version 2.1 of the License, or
9# (at your option) any later version.
10#
11# systemd is distributed in the hope that it will be useful, but
12# WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14# Lesser General Public License for more details.
15#
16# You should have received a copy of the GNU Lesser General Public License
17# along with systemd; If not, see <http://www.gnu.org/licenses/>.
5c23128d
ZJS
18
19option('split-usr', type : 'boolean', value : false,
20 description : '''assume that /bin, /sbin aren't symlinks into /usr''')
21option('rootlibdir', type : 'string',
22 description : '''[/usr]/lib/x86_64-linux-gnu or such''')
74344a17
ZJS
23option('rootprefix', type : 'string',
24 description : '''override the root prefix''')
3a30f21f
ZJS
25option('link-udev-shared', type : 'boolean',
26 description : 'link systemd-udev and its helpers to libsystemd-shared.so')
5c23128d
ZJS
27
28option('sysvinit-path', type : 'string', value : '/etc/init.d',
29 description : 'the directory where the SysV init scripts are located')
30option('sysvrcnd-path', type : 'string', value : '/etc/rc.d',
31 description : 'the base directory for SysV rcN.d directories')
32option('telinit-path', type : 'string', description : 'path to telinit')
2a4c156d
ZJS
33option('rc-local', type : 'string',
34 value : '/etc/rc.local')
35option('halt-local', type : 'string',
36 value : '/usr/sbin/halt.local')
5c23128d
ZJS
37
38option('quotaon-path', type : 'string', description : 'path to quotaon')
39option('quotacheck-path', type : 'string', description : 'path to quotacheck')
40option('kill-path', type : 'string', description : 'path to kill')
41option('kmod-path', type : 'string', description : 'path to kmod')
42option('kexec-path', type : 'string', description : 'path to kexec')
43option('sulogin-path', type : 'string', description : 'path to sulogin')
44option('mount-path', type : 'string', description : 'path to mount')
45option('umount-path', type : 'string', description : 'path to umount')
46option('loadkeys-path', type : 'string', description : 'path to loadkeys')
47option('setfont-path', type : 'string', description : 'path to setfont')
48
3131bfe3
ZJS
49option('debug-shell', type : 'string', value : '/bin/sh',
50 description : 'path to debug shell binary')
51option('debug-tty', type : 'string', value : '/dev/tty9',
52 description : 'specify the tty device for debug shell')
671677da
ZJS
53option('debug', type : 'string',
54 description : 'enable extra debugging (hashmap,mmap-cache)')
3131bfe3 55
5c23128d
ZJS
56option('utmp', type : 'boolean',
57 description : 'support for utmp/wtmp log handling')
58option('hibernate', type : 'boolean',
59 description : 'support for hibernation')
60option('ldconfig', type : 'boolean',
61 description : 'support for dynamic linker cache creation')
62option('resolve', type : 'boolean',
63 description : 'systemd-resolved stack')
64option('efi', type : 'boolean',
8191c594 65 description : 'enable systemd-boot and bootctl')
cd4823f6 66option('tpm', type : 'boolean',
80c6fce8 67 description : 'TPM should be used to log events and extend the registers')
5c23128d
ZJS
68option('environment-d', type : 'boolean',
69 description : 'support for environment.d')
70option('binfmt', type : 'boolean',
71 description : 'support for custom binary formats')
72option('coredump', type : 'boolean',
73 description : 'install the coredump handler')
74option('logind', type : 'boolean',
75 description : 'install the systemd-logind stack')
76option('hostnamed', type : 'boolean',
77 description : 'install the systemd-hostnamed stack')
78option('localed', type : 'boolean',
79 description : 'install the systemd-localed stack')
80option('machined', type : 'boolean',
81 description : 'install the systemd-machined stack')
82option('networkd', type : 'boolean',
83 description : 'install the systemd-networkd stack')
84option('timedated', type : 'boolean',
85 description : 'install the systemd-timedated daemon')
86option('timesyncd', type : 'boolean',
87 description : 'install the systemd-timesyncd daemon')
b1519d65 88option('remote', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d
ZJS
89 description : 'support for "journal over the network"')
90option('myhostname', type : 'boolean',
91 description : 'nss-myhostname support')
92option('firstboot', type : 'boolean',
93 description : 'support for firstboot mechanism')
94option('randomseed', type : 'boolean',
95 description : 'support for restoring random seed')
96option('backlight', type : 'boolean',
97 description : 'support for restoring backlight state')
98option('vconsole', type : 'boolean',
99 description : 'support for vconsole configuration')
100option('quotacheck', type : 'boolean',
101 description : 'support for the quotacheck tools')
102option('sysusers', type : 'boolean',
103 description : 'support for the sysusers configuration')
104option('tmpfiles', type : 'boolean',
105 description : 'support for tmpfiles.d')
b1519d65 106option('importd', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d
ZJS
107 description : 'install the systemd-importd daemon')
108option('hwdb', type : 'boolean',
109 description : 'support for the hardware database')
110option('rfkill', type : 'boolean',
111 description : 'support for the rfkill tools')
4390be30 112option('man', type : 'combo', choices : ['auto', 'true', 'false'],
527d43d7 113 description : 'build and install man pages')
4390be30
ZJS
114option('html', type : 'combo', choices : ['auto', 'true', 'false'],
115 value : 'false',
527d43d7 116 description : 'build and install html pages')
5c23128d
ZJS
117
118option('certificate-root', type : 'string', value : '/etc/ssl',
119 description : 'the prefix for TLS certificates')
120option('dbuspolicydir', type : 'string',
121 description : 'D-Bus policy directory')
122option('dbussessionservicedir', type : 'string',
123 description : 'D-Bus session service directory')
124option('dbussystemservicedir', type : 'string',
125 description : 'D-Bus system service directory')
126option('pkgconfigdatadir', type : 'string', value : 'share/pkgconfig',
127 description : 'directory for ')
128option('pkgconfiglibdir', type : 'string', value : '',
129 description : 'directory for ')
130option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d',
131 description : 'directory for rpm macros ["no" disables]')
132option('pamlibdir', type : 'string',
133 description : 'directory for PAM modules')
134option('pamconfdir', type : 'string',
135 description : 'directory for PAM configuration ["no" disables]')
136
137option('fallback-hostname', type : 'string', value : 'localhost',
138 description : 'the hostname used if none configured')
5248e7e1
ZJS
139option('compat-gateway-hostname', type : 'boolean', value : 'false',
140 description : 'allow "gateway" as the symbolic name for default gateway')
5c23128d
ZJS
141option('default-hierarchy', type : 'combo',
142 choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid',
143 description : 'default cgroup hierarchy')
144option('time-epoch', type : 'string',
145 description : 'time epoch for time clients')
146option('system-uid-max', type : 'string',
147 description : 'maximum system UID')
148option('system-gid-max', type : 'string',
149 description : 'maximum system GID')
150option('tty-gid', type : 'string',
151 description : 'the numeric GID of the "tty" group',
152 value : '5')
153option('adm-group', type : 'boolean',
154 description : 'the ACL for adm group should be added')
155option('wheel-group', type : 'boolean',
156 description : 'the ACL for wheel group should be added')
157option('nobody-user', type : 'string',
158 description : 'The name of the nobody user (the one with UID 65534)',
159 value : 'nobody')
160option('nobody-group', type : 'string',
161 description : 'The name of the nobody group (the one with GID 65534)',
162 value : 'nobody')
b8fd3d82 163option('dev-kvm-mode', type : 'string', value : '0666',
5c23128d 164 description : '/dev/kvm access mode')
4e15a734
TS
165option('group-render-mode', type : 'string', value : '0666',
166 description : 'Access mode for devices owned by render group (e.g. /dev/dri/renderD*, /dev/kfd).')
5c23128d
ZJS
167option('default-kill-user-processes', type : 'boolean',
168 description : 'the default value for KillUserProcesses= setting')
b14e1b43
FB
169option('gshadow', type : 'boolean',
170 description : 'support for shadow group')
5c23128d
ZJS
171
172option('default-dnssec', type : 'combo',
173 description : 'default DNSSEC mode',
174 choices : ['yes', 'allow-downgrade', 'no'],
175 value : 'allow-downgrade')
176option('dns-servers', type : 'string',
177 description : 'space-separated list of default DNS servers',
178 value : '8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844')
179option('ntp-servers', type : 'string',
180 description : 'space-separated list of default NTP servers',
181 value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
182option('support-url', type : 'string',
183 description : 'the support URL to show in catalog entries included in systemd',
184 value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
f75d75eb
ZJS
185option('www-target', type : 'string',
186 description : 'the address and dir to upload docs too',
187 value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd')
5c23128d 188
4390be30 189option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 190 description : 'SECCOMP support')
4390be30 191option('selinux', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 192 description : 'SELinux support')
4390be30 193option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 194 description : 'AppArmor support')
5464ec8a 195option('smack', type : 'boolean',
5c23128d
ZJS
196 description : 'SMACK support')
197option('smack-run-label', type : 'string',
198 description : 'run systemd --system itself with a specific SMACK label')
4390be30 199option('polkit', type : 'combo', choices : ['auto', 'true', 'false'],
3ca0cb73 200 description : 'PolicyKit support')
2895c8ee
ZJS
201option('ima', type : 'boolean',
202 description : 'IMA support')
5c23128d 203
36f0387e
ZJS
204option('acl', type : 'combo', choices : ['auto', 'true', 'false'],
205 description : 'libacl support')
4390be30 206option('audit', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 207 description : 'libaudit support')
4390be30 208option('blkid', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 209 description : 'libblkid support')
4390be30 210option('kmod', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 211 description : 'support for loadable modules')
4390be30 212option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 213 description : 'PAM support')
4390be30 214option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 215 description : 'libµhttpd support')
4390be30 216option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 217 description : 'libcryptsetup support')
4390be30 218option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 219 description : 'libcurl support')
d1bf5675
ZJS
220option('idn', type : 'boolean',
221 description : 'use IDN when printing host names')
87057e24
ZJS
222option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'],
223 description : 'libidn2 support')
4390be30 224option('libidn', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 225 description : 'libidn support')
e7e11bbf
WB
226option('nss-systemd', type : 'boolean',
227 description : 'enable nss-systemd')
4390be30 228option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 229 description : 'libiptc support')
4390be30 230option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 231 description : 'libqrencode support')
76c87410
MB
232option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'],
233 description : 'gcrypt support')
4390be30 234option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 235 description : 'gnutls support')
4390be30 236option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 237 description : 'elfutils support')
4390be30 238option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 239 description : 'zlib compression support')
4390be30 240option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 241 description : 'bzip2 compression support')
4390be30 242option('xz', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 243 description : 'xz compression support')
4390be30 244option('lz4', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 245 description : 'lz4 compression support')
4390be30 246option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'],
1eeb43f5 247 description : 'xkbcommon keymap support')
4390be30 248option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
69e96427 249 description : 'libglib support (for tests only)')
4390be30 250option('dbus', type : 'combo', choices : ['auto', 'true', 'false'],
69e96427 251 description : 'libdbus support (for tests only)')
5c23128d 252
4390be30 253option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'],
b710072d
ZJS
254 description : 'gnu-efi support for sd-boot')
255option('efi-cc', type : 'string', value : 'gcc',
256 description : 'the compiler to use for EFI modules')
257option('efi-ld', type : 'string', value : 'ld',
258 description : 'the linker to use for EFI modules')
259option('efi-libdir', type : 'string',
260 description : 'path to the EFI lib directory')
261option('efi-ldsdir', type : 'string',
262 description : 'path to the EFI lds directory')
263option('efi-includedir', type : 'string', value : '/usr/include/efi',
264 description : 'path to the EFI header directory')
80c6fce8
ZJS
265option('tpm-pcrindex', type : 'string', value : '8',
266 description : 'TPM PCR register number to use')
b710072d 267
5c23128d
ZJS
268option('bashcompletiondir', type : 'string',
269 description : 'directory for bash completion scripts ["no" disables]')
270option('zshcompletiondir', type : 'string',
271 description : 'directory for zsh completion scripts ["no" disables]')
69e96427 272
4390be30 273option('tests', type : 'combo', choices : ['true', 'unsafe'],
69e96427 274 description : 'enable extra tests with =unsafe')
00d82c81
ZJS
275option('slow-tests', type : 'boolean', value : 'false',
276 description : 'run the slow tests by default')
572baca1
ZJS
277option('install-tests', type : 'boolean', value : 'false',
278 description : 'install test executables')