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