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