summaryrefslogtreecommitdiff
path: root/meson_options.txt
AgeCommit message (Collapse)AuthorFilesLines
2019-07-10Add config and kernel commandline option to use short identifiersZbigniew Jędrzejewski-Szmek1-0/+3
No functional change, just docs and configuration and parsing. v2: - change ShortIdentifiers=yes|no to StatusUnitFormat=name|description.
2019-07-04meson: create /var/log/journal/{,remote/} conditionallyZbigniew Jędrzejewski-Szmek1-0/+2
Not everybody has those dirs in the filesystem (and they don't need to). When creating an installation package using $DESTDIR, it is easy enough to remove or ignore those directories, but if installing into a real root, it is ugly to create and remove them. Let's add an option so people can skip it if they want. Inspired by #12930.
2019-06-29meson: drop unused debug optionYu Watanabe1-1/+1
2019-06-19resolved: add strict mode for DNS-over-TLSIwan Timmer1-1/+1
Add strict mode for DNS-over-TLS, which will require TLS support from the server. Closes #10755
2019-05-24meson: let's make unified cgroupsv2 the defaultLennart Poettering1-1/+1
Prompted by @evverx' comments: https://github.com/systemd/systemd/pull/10161#pullrequestreview-158327715
2019-05-23Drop support for /usr/sbin/halt.localMichael Biebl1-2/+0
/usr/sbin/halt.local is a Fedora/Red Hat anachronism from pre-systemd times.
2019-05-09meson: default to -Dman=false to make development quickerZbigniew Jędrzejewski-Szmek1-0/+1
This makes the default build much quicker. If people are building systemd for packaging or actual installation, they probably need to set some more options anyway (-Ddns-servers=, -Dntp-servers=), so adding -Dman=true is not a big burden. For CIs configured locally, -Dman=true is added to restore status quo ante.
2019-05-07tests: hook up fuzz targets to FuzzBuzzEvgeny Vereshchagin1-0/+6
2019-02-26Merge pull request #11827 from keszybz/pkgconfig-variablesLennart Poettering1-1/+1
Allow overriding pkgconfig prefixes
2019-02-15resolved: use Cloudflare public DNS server as a default fallback alongside ↵Ignat Korchagin1-1/+1
Google one Cloudflare public DNS service is currently the fastest one according to https://www.dnsperf.com/#!dns-resolvers. Why not improve the experience for systemd users using this as a default fallback nameserver?
2019-01-03Merge pull request #11230 from keszybz/version-string-altYu Watanabe1-0/+3
Generate version string from git describe (alternative approach)
2019-01-02meson: check whether C.UTF-8 exists or not and use it if existsYu Watanabe1-1/+1
If C.UTF-8 does not exist, then fallback to en_US.UTF-8 or C.
2018-12-29Make default locale a compile time optionDave Reisner1-0/+2
Default to a locale that's guaranteed to exist everywhere, but let distros override this with something more exotic if they choose to. Closes #11259.
2018-12-21meson: allow setting the version string during configurationZbigniew Jędrzejewski-Szmek1-0/+3
This will be useful when building distro packages, because we can set the version string to the rpm/dpkg/whatever version string, and getter reports from end users.
2018-12-12meson: make net.naming-scheme= default configurableZbigniew Jędrzejewski-Szmek1-0/+3
This is useful for distributions, where the stability of interface names should be preseved after an upgrade of systemd. So when some specific release of the distro is made available, systemd defaults to the latest & greatest naming scheme, and subsequent updates set the same default. This default may still be overriden through the kernel and env var options. A special value "latest" is also allowed. Without a specific name, it is harder to verride from meson. In case of 'combo' options, meson reads the default during the initial configuration, and "remembers" this choice. When systemd is updated, old build/ directories could keep the old default, which would be annoying. Hence, "latest" is introduced to make it explicit, yet follow the upstream. This is actually useful for the user too, because it may be used as an override, without having to actually specify a version.
2018-11-23meson: also add option for debugging siphashYu Watanabe1-1/+1
2018-11-23meson: add option for debugging udevYu Watanabe1-1/+1
2018-11-17meson: document -Drootprefix a bit betterZbigniew Jędrzejewski-Szmek1-1/+1
All options are for "overriding", and the help string was just repeating the name of the option.
2018-10-17main: bump fs.nr_open + fs.max-file to their largest possible valuesLennart Poettering1-0/+4
After discussions with kernel folks, a system with memcg really shouldn't need extra hard limits on file descriptors anymore, as they are properly accounted for by memcg anyway. Hence, let's bump these values to their maximums. This also adds a build time option to turn thiss off, to cover those users who do not want to use memcg.
2018-10-02meson: add -Dlog-trace to set LOG_TRACEZbigniew Jędrzejewski-Szmek1-0/+2
The justification is the same as for -Dvalgrind: setting config in meson in this way is easier, because when the value is changed stuff that should be rebuilt is rebuilt.
2018-09-30meson: use an array option for efi-ccMike Gilbert1-1/+1
Fixes: https://github.com/systemd/systemd/issues/10211
2018-09-28meson: use the host architecture compiler/linker for src/boot/efiHelmut Grohne1-2/+2
cross building systemd to arm64 presently fails, because the build system uses plain gcc and plain ld (build architecture compiler and linker respectively) for building src/boot/efi. These values come from the efi-cc and efi-ld options respectively. It rather should be using host tools here. Fixes: b710072da441 ("add support for building efi modules")
2018-08-20meson: rename -Ddebug to -Ddebug-extraZbigniew Jędrzejewski-Szmek1-1/+1
Meson added -Doptimization and -Ddebug options, which obviously causes a conflict with our -Ddebug options. Let's rename it. Fixes #9883.
2018-08-10meson: actually honor pkgconfig*dir options (#9841)Benedikt Morbach1-1/+1
both were silently ignored leading to some of the pkg-config files ending up in the wrong place
2018-07-27resolved: basic OpenSSL support for DNS-over-TLSIwan Timmer1-1/+3
This provides basic OpenSSL support without optimizations like TCP Fast Open and TLS Session Tickets. Notice only a single SSL library can be enabled at a time and therefore journald functions provided by GnuTLS will be disabled when using OpenSSL. Fixes #9531
2018-07-24meson: use integer type in optionsYu Watanabe1-20/+15
This bumps the minimum required version of meson to 0.45 and python to 3.5, as integer type option is supported since meson-0.45 and meson-0.45 requires python-3.5.
2018-07-23meson: allow building resolved and machined without nss modulesYu Watanabe1-4/+8
This adds -Dnss-resolve= and -Dnss-mymachines= meson options. By using this option, e.g., resolved can be built without nss-resolve. When no nss modules are built, then test-nss is neither built. Also, This changes the option name -Dmyhostname= to -Dnss-myhostname= for consistency to other nss related options. Closes #9596.
2018-07-16tree-wide: use "polkit" to refer to PolicyKit/polkitZbigniew Jędrzejewski-Szmek1-1/+1
Back in 2012 the project was renamed, see the release notes for v 0.105 [https://cgit.freedesktop.org/polkit/tree/NEWS#n754]. Let's update our documentation and comments to do the same. Referring to PolicyKit is confusing to users because at the time the polkit api changed too, and we support the new version. I updated NEWS too, since all the references to PolicyKit there were added after the rename. "PolicyKit" is unchanged in various URLs and method call names.
2018-06-24meson: drop unused optionYu Watanabe1-1/+0
Follow-up for add384dd4d2b96db6ace5ad9c52b1dd7553ebec2.
2018-06-20meson: make DNS-over-TLS support optionalYu Watanabe1-0/+2
This adds dns-over-tls option to meson. If set to 'false', systemd-resolved is not linked with libgnutls.
2018-06-14Drop my copyright headersZbigniew Jędrzejewski-Szmek1-2/+0
perl -i -0pe 's/\s*Copyright © .... Zbigniew Jędrzejewski.*?\n/\n/gms' man/*xml git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/(#\n)?# +Copyright © [0-9, -]+ Zbigniew Jędrzejewski.*?\n//gms' git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s*\/\*\*\*\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*?\s*\*\*\*\/\s*/\n\n/gms' git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*//gms'
2018-06-14tree-wide: beautify remaining copyright statementsLennart Poettering1-1/+1
Let's unify an beautify our remaining copyright statements, with a unicode ©. This means our copyright statements are now always formatted the same way. Yay.
2018-06-14resolve: rename PrivateDNS to DNSOverTLSIwan Timmer1-2/+2
PrivateDNS is not considered a good name for this option, so rename it to DNSOverTLS
2018-06-11resolved: support for DNS-over-TLSIwan Timmer1-0/+4
Add support for DNS-over-TLS using GnuTLS. To reduce latency also TLS False Start and TLS session resumption is supported.
2018-05-31build-sys: Add option to link systemctl staticallyFelipe Sateler1-0/+2
Systemctl is special because it is required for many tasks that may need to be performed when the system is not fully configured and/or partially broken: 1. Installing/Uninstalling services during OS installs and upgrades 2. Shutting down the system Therefore reduce the number of dependencies that systemctl pulls in, by not linking to systemd-shared. This brings a bit of resilience to systemctl (and its aliases shutdown, reboot, etc), by linking against less external libraries. Because this extra resilience comes at a cost of approximately 580 KB extra space, this is done behind a meson build option.
2018-05-24add new portable service frameworkLennart Poettering1-0/+2
This adds a small service "systemd-portabled" and a matching client "portablectl", which implement the "portable service" concept. The daemon implements the actual operations, is PolicyKit-enabled and is activated on demand with exit-on-idle. Both the daemon and the client are an optional build artifact, enabled by default rhough.
2018-05-17Turn VALGRIND variable into a meson configuration switchZbigniew Jędrzejewski-Szmek1-0/+2
Configuration through environment variable is inconvenient with meson, because they cannot be convieniently changed and/or are not preserved during reconfiguration (https://github.com/mesonbuild/meson/issues/1503). This adds -Dvalgrind=true/false, which has the advantage that it can be set at any time with meson configure -Dvalgrind=... and ninja will rebuild targets as necessary. Additional minor advantages are better consistency with the options for hashmap debugging, and typo avoidance with '#if' instead of '#ifdef'.
2018-05-10meson: use array type optionYu Watanabe1-2/+2
Array type option is supported since 0.44.0.
2018-05-08meson: add support for building static libsystemd and libudevDavide Cavalca1-0/+6
2018-04-06tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek1-13/+0
Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
2018-03-02Merge pull request #8323 from xyproto/ok_colorZbigniew Jędrzejewski-Szmek1-0/+8
Make the color of the status OK configurable at build-time
2018-03-02meson: use dashes in colour namesZbigniew Jędrzejewski-Szmek1-3/+3
2018-03-02Add build-time option to change the color of the "OK" status textAlexander F Rødseth1-0/+8
2018-03-01meson: support both separate and merged sbin-bin directoriesZbigniew Jędrzejewski-Szmek1-0/+2
Follow-up for ba7f4ae6178309dc937e10cf7dce0eca9dafb8de. By default, we detect if the real root has a separate /usr/sbin directory, but this can be overrides with -Dsplit-bin=true|false. The check assumes that /usr/sbin is split if it is not a symlink, so it'll return a false negative with some more complicated setups. But that's OK, in those cases this should be configured explicitly. This will copy the structure of the directories in the root file system to $DESTDIR. If a directory is a directory in $DESTDIR but a symlink in the root file system, this script will fail. This means that it's not possible to reuse a $DESTDIR from between ba7f4ae61 and this patch.
2018-03-01meson: autodetect split-usrZbigniew Jędrzejewski-Szmek1-2/+2
Also move the status from "features" to the paths section. This is more of an anti-feature.
2018-02-15meson: add -Dmemory-accounting-default=true|falseZbigniew Jędrzejewski-Szmek1-0/+2
This makes it easy to set the default for distributions and users which want to default to off because they primarily use older kernels.
2018-02-02meson.build: make docdir configurable (#8068)tblume1-0/+2
SUSE is using a different docdir, so the path should be configurable
2018-01-28Merge pull request #7881 from keszybz/pcreLennart Poettering1-0/+2
Add new --grep option to journalctl
2018-01-17fuzz: allow building fuzzers outside of oss-fuzzJonathan Rudenberg1-0/+2
Add a new -Dllvm-fuzz=true option that can be used to build against libFuzzer and update the oss-fuzz script to work outside of the oss-fuzz build environment.
2018-01-17fuzz: add initial fuzzing infrastructureJonathan Rudenberg1-0/+3
The fuzzers will be used by oss-fuzz to automatically and continuously fuzz systemd. This commit includes the build tooling necessary to build fuzz targets, and a fuzzer for the DNS packet parser.