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