mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
9b4abc69b2
This patch introduces the systemd pstore service which will archive the contents of the Linux persistent storage filesystem, pstore, to other storage, thus preserving the existing information contained in the pstore, and clearing pstore storage for future error events. Linux provides a persistent storage file system, pstore[1], that can store error records when the kernel dies (or reboots or powers-off). These records in turn can be referenced to debug kernel problems (currently the kernel stuffs the tail of the dmesg, which also contains a stack backtrace, into pstore). The pstore file system supports a variety of backends that map onto persistent storage, such as the ACPI ERST[2, Section 18.5 Error Serialization] and UEFI variables[3 Appendix N Common Platform Error Record]. The pstore backends typically offer a relatively small amount of persistent storage, e.g. 64KiB, which can quickly fill up and thus prevent subsequent kernel crashes from recording errors. Thus there is a need to monitor and extract the pstore contents so that future kernel problems can also record information in the pstore. The pstore service is independent of the kdump service. In cloud environments specifically, host and guest filesystems are on remote filesystems (eg. iSCSI or NFS), thus kdump relies [implicitly and/or explicitly] upon proper operation of networking software *and* hardware *and* infrastructure. Thus it may not be possible to capture a kernel coredump to a file since writes over the network may not be possible. The pstore backend, on the other hand, is completely local and provides a path to store error records which will survive a reboot and aid in post-mortem debugging. Usage Notes: This tool moves files from /sys/fs/pstore into /var/lib/systemd/pstore. To enable kernel recording of error records into pstore, one must either pass crash_kexec_post_notifiers[4] to the kernel command line or enable via 'echo Y > /sys/module/kernel/parameters/crash_kexec_post_notifiers'. This option invokes the recording of errors into pstore *before* an attempt to kexec/kdump on a kernel crash. Optionally, to record reboots and shutdowns in the pstore, one can either pass the printk.always_kmsg_dump[4] to the kernel command line or enable via 'echo Y > /sys/module/printk/parameters/always_kmsg_dump'. This option enables code on the shutdown path to record information via pstore. This pstore service is a oneshot service. When run, the service invokes systemd-pstore which is a tool that performs the following: - reads the pstore.conf configuration file - collects the lists of files in the pstore (eg. /sys/fs/pstore) - for certain file types (eg. dmesg) a handler is invoked - for all other files, the file is moved from pstore - In the case of dmesg handler, final processing occurs as such: - files processed in reverse lexigraphical order to faciliate reconstruction of original dmesg - the filename is examined to determine which dmesg it is a part - the file is appended to the reconstructed dmesg For example, the following pstore contents: root@vm356:~# ls -al /sys/fs/pstore total 0 drwxr-x--- 2 root root 0 May 9 09:50 . drwxr-xr-x 7 root root 0 May 9 09:50 .. -r--r--r-- 1 root root 1610 May 9 09:49 dmesg-efi-155741337601001 -r--r--r-- 1 root root 1778 May 9 09:49 dmesg-efi-155741337602001 -r--r--r-- 1 root root 1726 May 9 09:49 dmesg-efi-155741337603001 -r--r--r-- 1 root root 1746 May 9 09:49 dmesg-efi-155741337604001 -r--r--r-- 1 root root 1686 May 9 09:49 dmesg-efi-155741337605001 -r--r--r-- 1 root root 1690 May 9 09:49 dmesg-efi-155741337606001 -r--r--r-- 1 root root 1775 May 9 09:49 dmesg-efi-155741337607001 -r--r--r-- 1 root root 1811 May 9 09:49 dmesg-efi-155741337608001 -r--r--r-- 1 root root 1817 May 9 09:49 dmesg-efi-155741337609001 -r--r--r-- 1 root root 1795 May 9 09:49 dmesg-efi-155741337710001 -r--r--r-- 1 root root 1770 May 9 09:49 dmesg-efi-155741337711001 -r--r--r-- 1 root root 1796 May 9 09:49 dmesg-efi-155741337712001 -r--r--r-- 1 root root 1787 May 9 09:49 dmesg-efi-155741337713001 -r--r--r-- 1 root root 1808 May 9 09:49 dmesg-efi-155741337714001 -r--r--r-- 1 root root 1754 May 9 09:49 dmesg-efi-155741337715001 results in the following: root@vm356:~# ls -al /var/lib/systemd/pstore/155741337/ total 92 drwxr-xr-x 2 root root 4096 May 9 09:50 . drwxr-xr-x 4 root root 40 May 9 09:50 .. -rw-r--r-- 1 root root 1610 May 9 09:50 dmesg-efi-155741337601001 -rw-r--r-- 1 root root 1778 May 9 09:50 dmesg-efi-155741337602001 -rw-r--r-- 1 root root 1726 May 9 09:50 dmesg-efi-155741337603001 -rw-r--r-- 1 root root 1746 May 9 09:50 dmesg-efi-155741337604001 -rw-r--r-- 1 root root 1686 May 9 09:50 dmesg-efi-155741337605001 -rw-r--r-- 1 root root 1690 May 9 09:50 dmesg-efi-155741337606001 -rw-r--r-- 1 root root 1775 May 9 09:50 dmesg-efi-155741337607001 -rw-r--r-- 1 root root 1811 May 9 09:50 dmesg-efi-155741337608001 -rw-r--r-- 1 root root 1817 May 9 09:50 dmesg-efi-155741337609001 -rw-r--r-- 1 root root 1795 May 9 09:50 dmesg-efi-155741337710001 -rw-r--r-- 1 root root 1770 May 9 09:50 dmesg-efi-155741337711001 -rw-r--r-- 1 root root 1796 May 9 09:50 dmesg-efi-155741337712001 -rw-r--r-- 1 root root 1787 May 9 09:50 dmesg-efi-155741337713001 -rw-r--r-- 1 root root 1808 May 9 09:50 dmesg-efi-155741337714001 -rw-r--r-- 1 root root 1754 May 9 09:50 dmesg-efi-155741337715001 -rw-r--r-- 1 root root 26754 May 9 09:50 dmesg.txt where dmesg.txt is reconstructed from the group of related dmesg-efi-155741337* files. Configuration file: The pstore.conf configuration file has four settings, described below. - Storage : one of "none", "external", or "journal". With "none", this tool leaves the contents of pstore untouched. With "external", the contents of the pstore are moved into the /var/lib/systemd/pstore, as well as logged into the journal. With "journal", the contents of the pstore are recorded only in the systemd journal. The default is "external". - Unlink : is a boolean. When "true", the default, then files in the pstore are removed once processed. When "false", processing of the pstore occurs normally, but the pstore files remain. References: [1] "Persistent storage for a kernel's dying breath", March 23, 2011. https://lwn.net/Articles/434821/ [2] "Advanced Configuration and Power Interface Specification", version 6.2, May 2017. https://www.uefi.org/sites/default/files/resources/ACPI_6_2.pdf [3] "Unified Extensible Firmware Interface Specification", version 2.8, March 2019. https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_final.pdf [4] "The kernel’s command-line parameters", https://static.lwn.net/kerneldoc/admin-guide/kernel-parameters.html
345 lines
18 KiB
Meson
345 lines
18 KiB
Meson
# -*- mode: meson -*-
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
option('version-tag', type : 'string',
|
|
description : 'override the git version string')
|
|
|
|
option('split-usr', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : '''/bin, /sbin aren't symlinks into /usr''')
|
|
option('split-bin', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : '''sbin is not a symlink to bin''')
|
|
option('rootlibdir', type : 'string',
|
|
description : '''[/usr]/lib/x86_64-linux-gnu or such''')
|
|
option('rootprefix', type : 'string',
|
|
description : '''override the root prefix [default '/' if split-usr and '/usr' otherwise]''')
|
|
option('link-udev-shared', type : 'boolean',
|
|
description : 'link systemd-udev and its helpers to libsystemd-shared.so')
|
|
option('link-systemctl-shared', type: 'boolean',
|
|
description : 'link systemctl against libsystemd-shared.so')
|
|
option('static-libsystemd', type : 'combo',
|
|
choices : ['false', 'true', 'pic', 'no-pic'],
|
|
description : '''install a static library for libsystemd''')
|
|
option('static-libudev', type : 'combo',
|
|
choices : ['false', 'true', 'pic', 'no-pic'],
|
|
description : '''install a static library for libudev''')
|
|
|
|
option('sysvinit-path', type : 'string', value : '/etc/init.d',
|
|
description : 'the directory where the SysV init scripts are located')
|
|
option('sysvrcnd-path', type : 'string', value : '/etc/rc.d',
|
|
description : 'the base directory for SysV rcN.d directories')
|
|
option('telinit-path', type : 'string', value : '/lib/sysvinit/telinit',
|
|
description : 'path to telinit')
|
|
option('rc-local', type : 'string',
|
|
value : '/etc/rc.local')
|
|
|
|
option('quotaon-path', type : 'string', description : 'path to quotaon')
|
|
option('quotacheck-path', type : 'string', description : 'path to quotacheck')
|
|
option('kmod-path', type : 'string', description : 'path to kmod')
|
|
option('kexec-path', type : 'string', description : 'path to kexec')
|
|
option('sulogin-path', type : 'string', description : 'path to sulogin')
|
|
option('mount-path', type : 'string', description : 'path to mount')
|
|
option('umount-path', type : 'string', description : 'path to umount')
|
|
option('loadkeys-path', type : 'string', description : 'path to loadkeys')
|
|
option('setfont-path', type : 'string', description : 'path to setfont')
|
|
option('nologin-path', type : 'string', description : 'path to nologin')
|
|
|
|
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-extra', type : 'array', choices : ['hashmap', 'mmap-cache', 'siphash'], value : [],
|
|
description : 'enable extra debugging')
|
|
option('memory-accounting-default', type : 'boolean',
|
|
description : 'enable MemoryAccounting= by default')
|
|
option('bump-proc-sys-fs-file-max', type : 'boolean',
|
|
description : 'bump /proc/sys/fs/file-max to ULONG_MAX')
|
|
option('bump-proc-sys-fs-nr-open', type : 'boolean',
|
|
description : 'bump /proc/sys/fs/nr_open to INT_MAX')
|
|
option('valgrind', type : 'boolean', value : false,
|
|
description : 'do extra operations to avoid valgrind warnings')
|
|
option('log-trace', type : 'boolean', value : false,
|
|
description : 'enable low level debug logging')
|
|
|
|
option('utmp', type : 'boolean',
|
|
description : 'support for utmp/wtmp log handling')
|
|
option('hibernate', type : 'boolean',
|
|
description : 'support for hibernation')
|
|
option('ldconfig', type : 'boolean',
|
|
description : 'support for dynamic linker cache creation')
|
|
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',
|
|
description : 'support for custom binary formats')
|
|
option('coredump', type : 'boolean',
|
|
description : 'install the coredump handler')
|
|
option('pstore', type : 'boolean',
|
|
description : 'install the pstore archival tool')
|
|
option('logind', type : 'boolean',
|
|
description : 'install the systemd-logind stack')
|
|
option('hostnamed', type : 'boolean',
|
|
description : 'install the systemd-hostnamed stack')
|
|
option('localed', type : 'boolean',
|
|
description : 'install the systemd-localed stack')
|
|
option('machined', type : 'boolean',
|
|
description : 'install the systemd-machined stack')
|
|
option('portabled', type : 'boolean',
|
|
description : 'install the systemd-portabled stack')
|
|
option('networkd', type : 'boolean',
|
|
description : 'install the systemd-networkd stack')
|
|
option('timedated', type : 'boolean',
|
|
description : 'install the systemd-timedated daemon')
|
|
option('timesyncd', type : 'boolean',
|
|
description : 'install the systemd-timesyncd daemon')
|
|
option('remote', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'support for "journal over the network"')
|
|
option('create-log-dirs', type : 'boolean',
|
|
description : 'create /var/log/journal{,/remote}')
|
|
option('nss-myhostname', type : 'boolean',
|
|
description : 'install nss-myhostname module')
|
|
option('nss-mymachines', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'install nss-mymachines module')
|
|
option('nss-resolve', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'install nss-resolve module')
|
|
option('nss-systemd', type : 'boolean',
|
|
description : 'install nss-systemd module')
|
|
option('firstboot', type : 'boolean',
|
|
description : 'support for firstboot mechanism')
|
|
option('randomseed', type : 'boolean',
|
|
description : 'support for restoring random seed')
|
|
option('backlight', type : 'boolean',
|
|
description : 'support for restoring backlight state')
|
|
option('vconsole', type : 'boolean',
|
|
description : 'support for vconsole configuration')
|
|
option('quotacheck', type : 'boolean',
|
|
description : 'support for the quotacheck tools')
|
|
option('sysusers', type : 'boolean',
|
|
description : 'support for the sysusers configuration')
|
|
option('tmpfiles', type : 'boolean',
|
|
description : 'support for tmpfiles.d')
|
|
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', 'true', 'false'],
|
|
value : 'false',
|
|
description : 'build and install man pages')
|
|
option('html', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
value : 'false',
|
|
description : 'build and install html pages')
|
|
|
|
option('certificate-root', type : 'string', value : '/etc/ssl',
|
|
description : 'the prefix for TLS certificates')
|
|
option('dbuspolicydir', type : 'string',
|
|
description : 'D-Bus policy directory')
|
|
option('dbussessionservicedir', type : 'string',
|
|
description : 'D-Bus session service directory')
|
|
option('dbussystemservicedir', type : 'string',
|
|
description : 'D-Bus system service directory')
|
|
option('pkgconfigdatadir', type : 'string', value : '',
|
|
description : 'directory for ')
|
|
option('pkgconfiglibdir', type : 'string', value : '',
|
|
description : 'directory for ')
|
|
option('rpmmacrosdir', type : 'string', value : 'lib/rpm/macros.d',
|
|
description : 'directory for rpm macros ["no" disables]')
|
|
option('pamlibdir', type : 'string',
|
|
description : 'directory for PAM modules')
|
|
option('pamconfdir', type : 'string',
|
|
description : 'directory for PAM configuration ["no" disables]')
|
|
option('docdir', type : 'string',
|
|
description : 'documentation directory')
|
|
|
|
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 : 'unified',
|
|
description : 'default cgroup hierarchy')
|
|
option('default-net-naming-scheme', type : 'combo',
|
|
choices : ['latest', 'v238', 'v239', 'v240'],
|
|
description : 'default net.naming-scheme= value')
|
|
option('status-unit-format-default', type : 'combo',
|
|
choices : ['description', 'name'],
|
|
description : 'use unit name or description in messages by default')
|
|
option('time-epoch', type : 'integer', value : '-1',
|
|
description : 'time epoch for time clients')
|
|
option('system-uid-max', type : 'integer', value : '-1',
|
|
description : 'maximum system UID')
|
|
option('system-gid-max', type : 'integer', value : '-1',
|
|
description : 'maximum system GID')
|
|
option('dynamic-uid-min', type : 'integer', value : 0x0000EF00,
|
|
description : 'minimum dynamic UID')
|
|
option('dynamic-uid-max', type : 'integer', value : 0x0000FFEF,
|
|
description : 'maximum dynamic UID')
|
|
option('container-uid-base-min', type : 'integer', value : 0x00080000,
|
|
description : 'minimum container UID base')
|
|
option('container-uid-base-max', type : 'integer', value : 0x6FFF0000,
|
|
description : 'maximum container UID base')
|
|
option('tty-gid', type : 'integer', value : 5,
|
|
description : 'the numeric GID of the "tty" group')
|
|
option('users-gid', type : 'integer', value : '-1',
|
|
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',
|
|
description : 'the ACL for wheel group should be added')
|
|
option('nobody-user', type : 'string',
|
|
description : 'The name of the nobody user (the one with UID 65534)',
|
|
value : 'nobody')
|
|
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 : '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-locale', type : 'string', value : '',
|
|
description : 'default locale used when /etc/locale.conf does not exist')
|
|
|
|
option('default-dnssec', type : 'combo',
|
|
description : 'default DNSSEC mode',
|
|
choices : ['yes', 'allow-downgrade', 'no'],
|
|
value : 'allow-downgrade')
|
|
option('default-dns-over-tls', type : 'combo',
|
|
description : 'default DNS-over-TLS mode',
|
|
choices : ['yes', 'opportunistic', 'no'],
|
|
value : 'no')
|
|
option('dns-over-tls', type : 'combo', choices : ['auto', 'gnutls', 'openssl', 'true', 'false'],
|
|
description : 'DNS-over-TLS support')
|
|
option('dns-servers', type : 'string',
|
|
description : 'space-separated list of default DNS servers',
|
|
value : '1.1.1.1 8.8.8.8 1.0.0.1 8.8.4.4 2606:4700:4700::1111 2001:4860:4860::8888 2606:4700:4700::1001 2001:4860:4860::8844')
|
|
option('ntp-servers', type : 'string',
|
|
description : 'space-separated list of default NTP servers',
|
|
value : 'time1.google.com time2.google.com time3.google.com time4.google.com')
|
|
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', 'true', 'false'],
|
|
description : 'SECCOMP support')
|
|
option('selinux', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'SELinux support')
|
|
option('apparmor', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'AppArmor support')
|
|
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', 'true', 'false'],
|
|
description : 'polkit support')
|
|
option('ima', type : 'boolean',
|
|
description : 'IMA support')
|
|
|
|
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', 'true', 'false'],
|
|
description : 'libblkid support')
|
|
option('kmod', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'support for loadable modules')
|
|
option('pam', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'PAM support')
|
|
option('microhttpd', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'libµhttpd support')
|
|
option('libcryptsetup', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'libcryptsetup support')
|
|
option('libcurl', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'libcurl support')
|
|
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', 'true', 'false'],
|
|
description : 'libiptc support')
|
|
option('qrencode', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'libqrencode support')
|
|
option('gcrypt', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'gcrypt support')
|
|
option('gnutls', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'gnutls support')
|
|
option('openssl', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'openssl support')
|
|
option('elfutils', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'elfutils support')
|
|
option('zlib', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'zlib compression support')
|
|
option('bzip2', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'bzip2 compression support')
|
|
option('xz', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'xz compression support')
|
|
option('lz4', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'lz4 compression support')
|
|
option('xkbcommon', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'xkbcommon keymap support')
|
|
option('pcre2', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'regexp matching support using pcre2')
|
|
option('glib', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'libglib support (for tests only)')
|
|
option('dbus', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'libdbus support (for tests only)')
|
|
|
|
option('gnu-efi', type : 'combo', choices : ['auto', 'true', 'false'],
|
|
description : 'gnu-efi support for sd-boot')
|
|
option('efi-cc', type : 'array',
|
|
description : 'the compiler to use for EFI modules')
|
|
option('efi-ld', type : 'string',
|
|
description : 'the linker to use for EFI modules')
|
|
option('efi-libdir', type : 'string',
|
|
description : 'path to the EFI lib directory')
|
|
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 : 'integer', 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 : ['true', 'unsafe', 'false'],
|
|
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')
|
|
|
|
option('ok-color', type: 'combo',
|
|
choices : ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan',
|
|
'white', 'highlight-black', 'highlight-red', 'highlight-green',
|
|
'highlight-yellow', 'highlight-blue', 'highlight-magenta',
|
|
'highlight-cyan', 'highlight-white'],
|
|
value : 'green',
|
|
description: 'color of the "OK" status message')
|
|
|
|
option('oss-fuzz', type : 'boolean', value : 'false',
|
|
description : 'build against oss-fuzz')
|
|
option('llvm-fuzz', type : 'boolean', value : 'false',
|
|
description : 'build against LLVM libFuzzer')
|
|
option('fuzzbuzz', type : 'boolean', value : 'false',
|
|
description : 'build against FuzzBuzz')
|
|
option('fuzzbuzz-engine', type : 'string',
|
|
description : 'the name of the FuzzBuzz fuzzing engine')
|
|
option('fuzzbuzz-engine-dir', type : 'string',
|
|
description : 'the directory where the FuzzBuzz fuzzing engine is')
|