]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson_options.txt
meson: make user $PATH configurable
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 12 Nov 2019 14:38:19 +0000 (15:38 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 13 Nov 2019 21:34:14 +0000 (22:34 +0100)
commit3602ca6f0c6c7b79458ab80184b4af5334f3a843
treeb90f4c4ace6cc5abb78c80e96cf998fd973e5089
parent9e9dd3e329a69a3aad5698552697b3257fdc3845
meson: make user $PATH configurable

This partially reverts db11487d1062655f17db54c4d710653f16c87313 (the logic to
calculate the correct value is removed, we always use the same setting as for
the system manager). Distributions have an easy mechanism to override this if
they wish.

I think making this configurable is better, because different distros clearly
want different defaults here, and making this configurable is nice and clean.
If we don't make it configurable, distros which either have to carry patches,
or what would be worse, rely on some other configuration mechanism, like
/etc/profile. Those other solutions do not apply everywhere (they usually
require the shell to be used at some point), so it is better if we provide
a nice way to override the default.

Fixes  #13469.
man/systemd.exec.xml
meson.build
meson_options.txt
src/basic/path-util.h
src/test/test-path-util.c