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