]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - meson_options.txt
final v236 update (#7649)
[thirdparty/systemd.git] / meson_options.txt
index 25875ca031b2edd72b1c8c549526a75e1368d7c5..f0c0506ff1b994652826eae3dacd32e27375a936 100644 (file)
@@ -1,9 +1,29 @@
 # -*- mode: meson -*-
+# SPDX-License-Identifier: LGPL-2.1+
+#
+# Copyright 2017 Zbigniew Jędrzejewski-Szmek
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# systemd is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with systemd; If not, see <http://www.gnu.org/licenses/>.
 
 option('split-usr', type : 'boolean', value : false,
        description : '''assume that /bin, /sbin aren't symlinks into /usr''')
 option('rootlibdir', type : 'string',
        description : '''[/usr]/lib/x86_64-linux-gnu or such''')
+option('rootprefix', type : 'string',
+       description : '''override the root prefix''')
+option('link-udev-shared', type : 'boolean',
+       description : 'link systemd-udev and its helpers to libsystemd-shared.so')
 
 option('sysvinit-path', type : 'string', value : '/etc/init.d',
        description : 'the directory where the SysV init scripts are located')
@@ -30,6 +50,8 @@ option('debug-shell', type : 'string', value : '/bin/sh',
        description : 'path to debug shell binary')
 option('debug-tty', type : 'string', value : '/dev/tty9',
        description : 'specify the tty device for debug shell')
+option('debug', type : 'string',
+       description : 'enable extra debugging (hashmap,mmap-cache)')
 
 option('utmp', type : 'boolean',
        description : 'support for utmp/wtmp log handling')
@@ -41,6 +63,8 @@ option('resolve', type : 'boolean',
        description : 'systemd-resolved stack')
 option('efi', type : 'boolean',
        description : 'enable systemd-boot and bootctl')
+option('tpm', type : 'boolean',
+       description : 'TPM should be used to log events and extend the registers')
 option('environment-d', type : 'boolean',
        description : 'support for environment.d')
 option('binfmt', type : 'boolean',
@@ -61,7 +85,7 @@ option('timedated', type : 'boolean',
        description : 'install the systemd-timedated daemon')
 option('timesyncd', type : 'boolean',
        description : 'install the systemd-timesyncd daemon')
-option('remote', type : 'boolean',
+option('remote', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'support for "journal over the network"')
 option('myhostname', type : 'boolean',
        description : 'nss-myhostname support')
@@ -79,16 +103,16 @@ option('sysusers', type : 'boolean',
        description : 'support for the sysusers configuration')
 option('tmpfiles', type : 'boolean',
        description : 'support for tmpfiles.d')
-option('importd', type : 'boolean',
+option('importd', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'install the systemd-importd daemon')
 option('hwdb', type : 'boolean',
        description : 'support for the hardware database')
 option('rfkill', type : 'boolean',
        description : 'support for the rfkill tools')
-option('man', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('man', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'build and install man pages')
-option('html', type : 'combo', choices : ['auto', 'yes', 'no'],
-       value : 'no',
+option('html', type : 'combo', choices : ['auto', 'true', 'false'],
+       value : 'false',
        description : 'build and install html pages')
 
 option('certificate-root', type : 'string', value : '/etc/ssl',
@@ -112,6 +136,8 @@ option('pamconfdir', type : 'string',
 
 option('fallback-hostname', type : 'string', value : 'localhost',
        description : 'the hostname used if none configured')
+option('compat-gateway-hostname', type : 'boolean', value : 'false',
+       description : 'allow "gateway" as the symbolic name for default gateway')
 option('default-hierarchy', type : 'combo',
        choices : ['legacy', 'hybrid', 'unified'], value : 'hybrid',
        description : 'default cgroup hierarchy')
@@ -121,9 +147,23 @@ option('system-uid-max', type : 'string',
        description : 'maximum system UID')
 option('system-gid-max', type : 'string',
        description : 'maximum system GID')
+option('dynamic-uid-min', type : 'string',
+       description : 'minimum dynamic UID',
+       value : '61184') # That's → 0x0000EF00 in hex
+option('dynamic-uid-max', type : 'string',
+       description : 'maximum dynamic UID',
+       value : '65519') # That's → 0x0000FFEF in hex
+option('container-uid-base-min', type : 'string',
+       description : 'minimum container UID base',
+       value : '524288') # That's → 0x00080000 in hex
+option('container-uid-base-max', type : 'string',
+       description : 'maximum container UID base',
+       value : '1878982656') # That's → 0x6FFF0000 in hex
 option('tty-gid', type : 'string',
        description : 'the numeric GID of the "tty" group',
        value : '5')
+option('users-gid', type : 'string',
+       description : 'the numeric GID of the "users" group')
 option('adm-group', type : 'boolean',
        description : 'the ACL for adm group should be added')
 option('wheel-group', type : 'boolean',
@@ -134,10 +174,14 @@ option('nobody-user', type : 'string',
 option('nobody-group', type : 'string',
        description : 'The name of the nobody group (the one with GID 65534)',
        value : 'nobody')
-option('dev-kvm-mode', type : 'string', value : '0660',
+option('dev-kvm-mode', type : 'string', value : '0666',
        description : '/dev/kvm access mode')
+option('group-render-mode', type : 'string', value : '0666',
+       description : 'Access mode for devices owned by render group (e.g. /dev/dri/renderD*, /dev/kfd).')
 option('default-kill-user-processes', type : 'boolean',
        description : 'the default value for KillUserProcesses= setting')
+option('gshadow', type : 'boolean',
+       description : 'support for shadow group')
 
 option('default-dnssec', type : 'combo',
        description : 'default DNSSEC mode',
@@ -152,64 +196,75 @@ option('ntp-servers', type : 'string',
 option('support-url', type : 'string',
        description : 'the support URL to show in catalog entries included in systemd',
        value : 'https://lists.freedesktop.org/mailman/listinfo/systemd-devel')
+option('www-target', type : 'string',
+       description : 'the address and dir to upload docs too',
+       value : 'www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd')
 
-option('seccomp', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('seccomp', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'SECCOMP support')
-option('selinux', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('selinux', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'SELinux support')
-option('apparmor', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'AppArmor support')
-option('smack', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('smack', type : 'boolean',
        description : 'SMACK support')
 option('smack-run-label', type : 'string',
        description : 'run systemd --system itself with a specific SMACK label')
-option('polkit', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('polkit', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'PolicyKit support')
 option('ima', type : 'boolean',
        description : 'IMA support')
 
-option('audit', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('acl', type : 'combo', choices : ['auto', 'true', 'false'],
+       description : 'libacl support')
+option('audit', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'libaudit support')
-option('blkid', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('blkid', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'libblkid support')
-option('kmod', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('kmod', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'support for loadable modules')
-option('pam', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'PAM support')
-option('microhttpd', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'libµhttpd support')
-option('libcryptsetup', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'libcryptsetup support')
-option('libcurl', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'libcurl support')
-option('libidn', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('idn', type : 'boolean',
+       description : 'use IDN when printing host names')
+option('libidn2', type : 'combo', choices : ['auto', 'true', 'false'],
+       description : 'libidn2 support')
+option('libidn', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'libidn support')
-option('libiptc', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('nss-systemd', type : 'boolean',
+       description : 'enable nss-systemd')
+option('libiptc', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'libiptc support')
-option('qrencode', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'libqrencode support')
-option('libgcrypt', type : 'combo', choices : ['auto', 'yes', 'no'],
-       description : 'libgcrypt support')
-option('gnutls', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'],
+       description : 'gcrypt support')
+option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'gnutls support')
-option('elfutils', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'elfutils support')
-option('zlib', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'zlib compression support')
-option('bzip2', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'bzip2 compression support')
-option('xz', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('xz', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'xz compression support')
-option('lz4', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('lz4', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'lz4 compression support')
-option('xkbcommon', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'xkbcommon keymap support')
-option('glib', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'libglib support (for tests only)')
-option('dbus', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('dbus', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'libdbus support (for tests only)')
 
-option('gnu-efi', type : 'combo', choices : ['auto', 'yes', 'no'],
+option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'],
        description : 'gnu-efi support for sd-boot')
 option('efi-cc', type : 'string', value : 'gcc',
        description : 'the compiler to use for EFI modules')
@@ -221,13 +276,17 @@ option('efi-ldsdir', type : 'string',
        description : 'path to the EFI lds directory')
 option('efi-includedir', type : 'string', value : '/usr/include/efi',
        description : 'path to the EFI header directory')
+option('tpm-pcrindex', type : 'string', value : '8',
+       description : 'TPM PCR register number to use')
 
 option('bashcompletiondir', type : 'string',
        description : 'directory for bash completion scripts ["no" disables]')
 option('zshcompletiondir', type : 'string',
        description : 'directory for zsh completion scripts ["no" disables]')
 
-option('tests', type : 'combo', choices : ['yes', 'unsafe'],
+option('tests', type : 'combo', choices : ['true', 'unsafe'],
        description : 'enable extra tests with =unsafe')
+option('slow-tests', type : 'boolean', value : 'false',
+       description : 'run the slow tests by default')
 option('install-tests', type : 'boolean', value : 'false',
        description : 'install test executables')