]> git.ipfire.org Git - thirdparty/systemd.git/blame - meson_options.txt
Merge pull request #5827 from keszybz/meson-libcap
[thirdparty/systemd.git] / meson_options.txt
CommitLineData
5c23128d
ZJS
1# -*- mode: meson -*-
2
3option('split-usr', type : 'boolean', value : false,
4 description : '''assume that /bin, /sbin aren't symlinks into /usr''')
5option('rootlibdir', type : 'string',
6 description : '''[/usr]/lib/x86_64-linux-gnu or such''')
ab916f2e
ZJS
7option('rootprefix', type : 'string',
8 description : '''override the root prefix''')
3a30f21f
ZJS
9option('link-udev-shared', type : 'boolean',
10 description : 'link systemd-udev and its helpers to libsystemd-shared.so')
5c23128d
ZJS
11
12option('sysvinit-path', type : 'string', value : '/etc/init.d',
13 description : 'the directory where the SysV init scripts are located')
14option('sysvrcnd-path', type : 'string', value : '/etc/rc.d',
15 description : 'the base directory for SysV rcN.d directories')
16option('telinit-path', type : 'string', description : 'path to telinit')
2a4c156d
ZJS
17option('rc-local', type : 'string',
18 value : '/etc/rc.local')
19option('halt-local', type : 'string',
20 value : '/usr/sbin/halt.local')
5c23128d
ZJS
21
22option('quotaon-path', type : 'string', description : 'path to quotaon')
23option('quotacheck-path', type : 'string', description : 'path to quotacheck')
24option('kill-path', type : 'string', description : 'path to kill')
25option('kmod-path', type : 'string', description : 'path to kmod')
26option('kexec-path', type : 'string', description : 'path to kexec')
27option('sulogin-path', type : 'string', description : 'path to sulogin')
28option('mount-path', type : 'string', description : 'path to mount')
29option('umount-path', type : 'string', description : 'path to umount')
30option('loadkeys-path', type : 'string', description : 'path to loadkeys')
31option('setfont-path', type : 'string', description : 'path to setfont')
32
3131bfe3
ZJS
33option('debug-shell', type : 'string', value : '/bin/sh',
34 description : 'path to debug shell binary')
35option('debug-tty', type : 'string', value : '/dev/tty9',
36 description : 'specify the tty device for debug shell')
37
5c23128d
ZJS
38option('utmp', type : 'boolean',
39 description : 'support for utmp/wtmp log handling')
40option('hibernate', type : 'boolean',
41 description : 'support for hibernation')
42option('ldconfig', type : 'boolean',
43 description : 'support for dynamic linker cache creation')
44option('resolve', type : 'boolean',
45 description : 'systemd-resolved stack')
46option('efi', type : 'boolean',
8191c594 47 description : 'enable systemd-boot and bootctl')
80c6fce8
ZJS
48option('tpm', type : 'boolean', value : false,
49 description : 'TPM should be used to log events and extend the registers')
5c23128d
ZJS
50option('environment-d', type : 'boolean',
51 description : 'support for environment.d')
52option('binfmt', type : 'boolean',
53 description : 'support for custom binary formats')
54option('coredump', type : 'boolean',
55 description : 'install the coredump handler')
56option('logind', type : 'boolean',
57 description : 'install the systemd-logind stack')
58option('hostnamed', type : 'boolean',
59 description : 'install the systemd-hostnamed stack')
60option('localed', type : 'boolean',
61 description : 'install the systemd-localed stack')
62option('machined', type : 'boolean',
63 description : 'install the systemd-machined stack')
64option('networkd', type : 'boolean',
65 description : 'install the systemd-networkd stack')
66option('timedated', type : 'boolean',
67 description : 'install the systemd-timedated daemon')
68option('timesyncd', type : 'boolean',
69 description : 'install the systemd-timesyncd daemon')
70option('remote', type : 'boolean',
71 description : 'support for "journal over the network"')
72option('myhostname', type : 'boolean',
73 description : 'nss-myhostname support')
74option('firstboot', type : 'boolean',
75 description : 'support for firstboot mechanism')
76option('randomseed', type : 'boolean',
77 description : 'support for restoring random seed')
78option('backlight', type : 'boolean',
79 description : 'support for restoring backlight state')
80option('vconsole', type : 'boolean',
81 description : 'support for vconsole configuration')
82option('quotacheck', type : 'boolean',
83 description : 'support for the quotacheck tools')
84option('sysusers', type : 'boolean',
85 description : 'support for the sysusers configuration')
86option('tmpfiles', type : 'boolean',
87 description : 'support for tmpfiles.d')
88option('importd', type : 'boolean',
89 description : 'install the systemd-importd daemon')
90option('hwdb', type : 'boolean',
91 description : 'support for the hardware database')
92option('rfkill', type : 'boolean',
93 description : 'support for the rfkill tools')
4390be30 94option('man', type : 'combo', choices : ['auto', 'true', 'false'],
527d43d7 95 description : 'build and install man pages')
4390be30
ZJS
96option('html', type : 'combo', choices : ['auto', 'true', 'false'],
97 value : 'false',
527d43d7 98 description : 'build and install html pages')
5c23128d
ZJS
99
100option('certificate-root', type : 'string', value : '/etc/ssl',
101 description : 'the prefix for TLS certificates')
102option('dbuspolicydir', type : 'string',
103 description : 'D-Bus policy directory')
104option('dbussessionservicedir', type : 'string',
105 description : 'D-Bus session service directory')
106option('dbussystemservicedir', type : 'string',
107 description : 'D-Bus system service directory')
108option('pkgconfigdatadir', type : 'string', value : 'share/pkgconfig',
109 description : 'directory for ')
110option('pkgconfiglibdir', type : 'string', value : '',
111 description : 'directory for ')
112option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d',
113 description : 'directory for rpm macros ["no" disables]')
114option('pamlibdir', type : 'string',
115 description : 'directory for PAM modules')
116option('pamconfdir', type : 'string',
117 description : 'directory for PAM configuration ["no" disables]')
118
119option('fallback-hostname', type : 'string', value : 'localhost',
120 description : 'the hostname used if none configured')
121option('default-hierarchy', type : 'combo',
122 choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid',
123 description : 'default cgroup hierarchy')
124option('time-epoch', type : 'string',
125 description : 'time epoch for time clients')
126option('system-uid-max', type : 'string',
127 description : 'maximum system UID')
128option('system-gid-max', type : 'string',
129 description : 'maximum system GID')
130option('tty-gid', type : 'string',
131 description : 'the numeric GID of the "tty" group',
132 value : '5')
133option('adm-group', type : 'boolean',
134 description : 'the ACL for adm group should be added')
135option('wheel-group', type : 'boolean',
136 description : 'the ACL for wheel group should be added')
137option('nobody-user', type : 'string',
138 description : 'The name of the nobody user (the one with UID 65534)',
139 value : 'nobody')
140option('nobody-group', type : 'string',
141 description : 'The name of the nobody group (the one with GID 65534)',
142 value : 'nobody')
143option('dev-kvm-mode', type : 'string', value : '0660',
144 description : '/dev/kvm access mode')
145option('default-kill-user-processes', type : 'boolean',
146 description : 'the default value for KillUserProcesses= setting')
147
148option('default-dnssec', type : 'combo',
149 description : 'default DNSSEC mode',
150 choices : ['yes', 'allow-downgrade', 'no'],
151 value : 'allow-downgrade')
152option('dns-servers', type : 'string',
153 description : 'space-separated list of default DNS servers',
154 value : '8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844')
155option('ntp-servers', type : 'string',
156 description : 'space-separated list of default NTP servers',
157 value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
158option('support-url', type : 'string',
159 description : 'the support URL to show in catalog entries included in systemd',
160 value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
f75d75eb
ZJS
161option('www-target', type : 'string',
162 description : 'the address and dir to upload docs too',
163 value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd')
5c23128d 164
4390be30 165option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 166 description : 'SECCOMP support')
4390be30 167option('selinux', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 168 description : 'SELinux support')
4390be30 169option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 170 description : 'AppArmor support')
5464ec8a 171option('smack', type : 'boolean',
5c23128d
ZJS
172 description : 'SMACK support')
173option('smack-run-label', type : 'string',
174 description : 'run systemd --system itself with a specific SMACK label')
4390be30 175option('polkit', type : 'combo', choices : ['auto', 'true', 'false'],
3ca0cb73 176 description : 'PolicyKit support')
2895c8ee
ZJS
177option('ima', type : 'boolean',
178 description : 'IMA support')
5c23128d 179
36f0387e
ZJS
180option('acl', type : 'combo', choices : ['auto', 'true', 'false'],
181 description : 'libacl support')
4390be30 182option('audit', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 183 description : 'libaudit support')
4390be30 184option('blkid', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 185 description : 'libblkid support')
4390be30 186option('kmod', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 187 description : 'support for loadable modules')
4390be30 188option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 189 description : 'PAM support')
4390be30 190option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 191 description : 'libµhttpd support')
4390be30 192option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 193 description : 'libcryptsetup support')
4390be30 194option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 195 description : 'libcurl support')
4390be30 196option('libidn', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 197 description : 'libidn support')
4390be30 198option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 199 description : 'libiptc support')
4390be30 200option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 201 description : 'libqrencode support')
76c87410
MB
202option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'],
203 description : 'gcrypt support')
4390be30 204option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 205 description : 'gnutls support')
4390be30 206option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 207 description : 'elfutils support')
4390be30 208option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 209 description : 'zlib compression support')
4390be30 210option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 211 description : 'bzip2 compression support')
4390be30 212option('xz', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 213 description : 'xz compression support')
4390be30 214option('lz4', type : 'combo', choices : ['auto', 'true', 'false'],
5c23128d 215 description : 'lz4 compression support')
4390be30 216option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'],
1eeb43f5 217 description : 'xkbcommon keymap support')
4390be30 218option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
69e96427 219 description : 'libglib support (for tests only)')
4390be30 220option('dbus', type : 'combo', choices : ['auto', 'true', 'false'],
69e96427 221 description : 'libdbus support (for tests only)')
5c23128d 222
4390be30 223option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'],
b710072d
ZJS
224 description : 'gnu-efi support for sd-boot')
225option('efi-cc', type : 'string', value : 'gcc',
226 description : 'the compiler to use for EFI modules')
227option('efi-ld', type : 'string', value : 'ld',
228 description : 'the linker to use for EFI modules')
229option('efi-libdir', type : 'string',
230 description : 'path to the EFI lib directory')
231option('efi-ldsdir', type : 'string',
232 description : 'path to the EFI lds directory')
233option('efi-includedir', type : 'string', value : '/usr/include/efi',
234 description : 'path to the EFI header directory')
80c6fce8
ZJS
235option('tpm-pcrindex', type : 'string', value : '8',
236 description : 'TPM PCR register number to use')
b710072d 237
5c23128d
ZJS
238option('bashcompletiondir', type : 'string',
239 description : 'directory for bash completion scripts ["no" disables]')
240option('zshcompletiondir', type : 'string',
241 description : 'directory for zsh completion scripts ["no" disables]')
69e96427 242
4390be30 243option('tests', type : 'combo', choices : ['true', 'unsafe'],
69e96427 244 description : 'enable extra tests with =unsafe')
572baca1
ZJS
245option('install-tests', type : 'boolean', value : 'false',
246 description : 'install test executables')