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