]> git.ipfire.org Git - thirdparty/systemd.git/blob - meson_options.txt
meson: allow optional static linking of shared code in udev helpers
[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
38 option('utmp', type : 'boolean',
39 description : 'support for utmp/wtmp log handling')
40 option('hibernate', type : 'boolean',
41 description : 'support for hibernation')
42 option('ldconfig', type : 'boolean',
43 description : 'support for dynamic linker cache creation')
44 option('resolve', type : 'boolean',
45 description : 'systemd-resolved stack')
46 option('efi', type : 'boolean',
47 description : 'enable systemd-boot and bootctl')
48 option('environment-d', type : 'boolean',
49 description : 'support for environment.d')
50 option('binfmt', type : 'boolean',
51 description : 'support for custom binary formats')
52 option('coredump', type : 'boolean',
53 description : 'install the coredump handler')
54 option('logind', type : 'boolean',
55 description : 'install the systemd-logind stack')
56 option('hostnamed', type : 'boolean',
57 description : 'install the systemd-hostnamed stack')
58 option('localed', type : 'boolean',
59 description : 'install the systemd-localed stack')
60 option('machined', type : 'boolean',
61 description : 'install the systemd-machined stack')
62 option('networkd', type : 'boolean',
63 description : 'install the systemd-networkd stack')
64 option('timedated', type : 'boolean',
65 description : 'install the systemd-timedated daemon')
66 option('timesyncd', type : 'boolean',
67 description : 'install the systemd-timesyncd daemon')
68 option('remote', type : 'boolean',
69 description : 'support for "journal over the network"')
70 option('myhostname', type : 'boolean',
71 description : 'nss-myhostname support')
72 option('firstboot', type : 'boolean',
73 description : 'support for firstboot mechanism')
74 option('randomseed', type : 'boolean',
75 description : 'support for restoring random seed')
76 option('backlight', type : 'boolean',
77 description : 'support for restoring backlight state')
78 option('vconsole', type : 'boolean',
79 description : 'support for vconsole configuration')
80 option('quotacheck', type : 'boolean',
81 description : 'support for the quotacheck tools')
82 option('sysusers', type : 'boolean',
83 description : 'support for the sysusers configuration')
84 option('tmpfiles', type : 'boolean',
85 description : 'support for tmpfiles.d')
86 option('importd', type : 'boolean',
87 description : 'install the systemd-importd daemon')
88 option('hwdb', type : 'boolean',
89 description : 'support for the hardware database')
90 option('rfkill', type : 'boolean',
91 description : 'support for the rfkill tools')
92 option('man', type : 'combo', choices : ['auto', 'true', 'false'],
93 description : 'build and install man pages')
94 option('html', type : 'combo', choices : ['auto', 'true', 'false'],
95 value : 'false',
96 description : 'build and install html pages')
97
98 option('certificate-root', type : 'string', value : '/etc/ssl',
99 description : 'the prefix for TLS certificates')
100 option('dbuspolicydir', type : 'string',
101 description : 'D-Bus policy directory')
102 option('dbussessionservicedir', type : 'string',
103 description : 'D-Bus session service directory')
104 option('dbussystemservicedir', type : 'string',
105 description : 'D-Bus system service directory')
106 option('pkgconfigdatadir', type : 'string', value : 'share/pkgconfig',
107 description : 'directory for ')
108 option('pkgconfiglibdir', type : 'string', value : '',
109 description : 'directory for ')
110 option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d',
111 description : 'directory for rpm macros ["no" disables]')
112 option('pamlibdir', type : 'string',
113 description : 'directory for PAM modules')
114 option('pamconfdir', type : 'string',
115 description : 'directory for PAM configuration ["no" disables]')
116
117 option('fallback-hostname', type : 'string', value : 'localhost',
118 description : 'the hostname used if none configured')
119 option('default-hierarchy', type : 'combo',
120 choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid',
121 description : 'default cgroup hierarchy')
122 option('time-epoch', type : 'string',
123 description : 'time epoch for time clients')
124 option('system-uid-max', type : 'string',
125 description : 'maximum system UID')
126 option('system-gid-max', type : 'string',
127 description : 'maximum system GID')
128 option('tty-gid', type : 'string',
129 description : 'the numeric GID of the "tty" group',
130 value : '5')
131 option('adm-group', type : 'boolean',
132 description : 'the ACL for adm group should be added')
133 option('wheel-group', type : 'boolean',
134 description : 'the ACL for wheel group should be added')
135 option('nobody-user', type : 'string',
136 description : 'The name of the nobody user (the one with UID 65534)',
137 value : 'nobody')
138 option('nobody-group', type : 'string',
139 description : 'The name of the nobody group (the one with GID 65534)',
140 value : 'nobody')
141 option('dev-kvm-mode', type : 'string', value : '0660',
142 description : '/dev/kvm access mode')
143 option('default-kill-user-processes', type : 'boolean',
144 description : 'the default value for KillUserProcesses= setting')
145
146 option('default-dnssec', type : 'combo',
147 description : 'default DNSSEC mode',
148 choices : ['yes', 'allow-downgrade', 'no'],
149 value : 'allow-downgrade')
150 option('dns-servers', type : 'string',
151 description : 'space-separated list of default DNS servers',
152 value : '8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844')
153 option('ntp-servers', type : 'string',
154 description : 'space-separated list of default NTP servers',
155 value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
156 option('support-url', type : 'string',
157 description : 'the support URL to show in catalog entries included in systemd',
158 value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
159 option('www-target', type : 'string',
160 description : 'the address and dir to upload docs too',
161 value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd')
162
163 option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'],
164 description : 'SECCOMP support')
165 option('selinux', type : 'combo', choices : ['auto', 'true', 'false'],
166 description : 'SELinux support')
167 option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'],
168 description : 'AppArmor support')
169 option('smack', type : 'combo', choices : ['auto', 'true', 'false'],
170 description : 'SMACK support')
171 option('smack-run-label', type : 'string',
172 description : 'run systemd --system itself with a specific SMACK label')
173 option('polkit', type : 'combo', choices : ['auto', 'true', 'false'],
174 description : 'PolicyKit support')
175 option('ima', type : 'boolean',
176 description : 'IMA support')
177
178 option('audit', type : 'combo', choices : ['auto', 'true', 'false'],
179 description : 'libaudit support')
180 option('blkid', type : 'combo', choices : ['auto', 'true', 'false'],
181 description : 'libblkid support')
182 option('kmod', type : 'combo', choices : ['auto', 'true', 'false'],
183 description : 'support for loadable modules')
184 option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
185 description : 'PAM support')
186 option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'],
187 description : 'libµhttpd support')
188 option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'],
189 description : 'libcryptsetup support')
190 option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'],
191 description : 'libcurl support')
192 option('libidn', type : 'combo', choices : ['auto', 'true', 'false'],
193 description : 'libidn support')
194 option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'],
195 description : 'libiptc support')
196 option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'],
197 description : 'libqrencode support')
198 option('libgcrypt', type : 'combo', choices : ['auto', 'true', 'false'],
199 description : 'libgcrypt support')
200 option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'],
201 description : 'gnutls support')
202 option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
203 description : 'elfutils support')
204 option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],
205 description : 'zlib compression support')
206 option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'],
207 description : 'bzip2 compression support')
208 option('xz', type : 'combo', choices : ['auto', 'true', 'false'],
209 description : 'xz compression support')
210 option('lz4', type : 'combo', choices : ['auto', 'true', 'false'],
211 description : 'lz4 compression support')
212 option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'],
213 description : 'xkbcommon keymap support')
214 option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
215 description : 'libglib support (for tests only)')
216 option('dbus', type : 'combo', choices : ['auto', 'true', 'false'],
217 description : 'libdbus support (for tests only)')
218
219 option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'],
220 description : 'gnu-efi support for sd-boot')
221 option('efi-cc', type : 'string', value : 'gcc',
222 description : 'the compiler to use for EFI modules')
223 option('efi-ld', type : 'string', value : 'ld',
224 description : 'the linker to use for EFI modules')
225 option('efi-libdir', type : 'string',
226 description : 'path to the EFI lib directory')
227 option('efi-ldsdir', type : 'string',
228 description : 'path to the EFI lds directory')
229 option('efi-includedir', type : 'string', value : '/usr/include/efi',
230 description : 'path to the EFI header directory')
231
232 option('bashcompletiondir', type : 'string',
233 description : 'directory for bash completion scripts ["no" disables]')
234 option('zshcompletiondir', type : 'string',
235 description : 'directory for zsh completion scripts ["no" disables]')
236
237 option('tests', type : 'combo', choices : ['true', 'unsafe'],
238 description : 'enable extra tests with =unsafe')
239 option('install-tests', type : 'boolean', value : 'false',
240 description : 'install test executables')