diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-12 15:38:19 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-13 22:34:14 +0100 |
commit | 3602ca6f0c6c7b79458ab80184b4af5334f3a843 (patch) | |
tree | b90f4c4ace6cc5abb78c80e96cf998fd973e5089 /meson_options.txt | |
parent | Merge pull request #13862 from zachsmith/systemd-tmpfiles-deprecate-for-force (diff) | |
download | systemd-3602ca6f0c6c7b79458ab80184b4af5334f3a843.tar.xz systemd-3602ca6f0c6c7b79458ab80184b4af5334f3a843.zip |
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.
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 0919577fd7..79b09e021c 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -59,6 +59,8 @@ 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('user-path', type : 'string', + description : '$PATH to use for user sessions') option('utmp', type : 'boolean', description : 'support for utmp/wtmp log handling') |