]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: Ensure that distribution packages own systemenvgeneratordir
authorDebarshi Ray <debarshir@gnome.org>
Fri, 2 May 2025 19:08:55 +0000 (21:08 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 5 May 2025 15:12:02 +0000 (00:12 +0900)
commitab46feb3e28eee0b9be3dece49f5e4c63f21dc37
treec557fd8bebf3fdb2c7fdbcf2a043fc168c3df9b7
parent0777e64ea28f10f7bce24a3d14526f1d81a17a0c
meson: Ensure that distribution packages own systemenvgeneratordir

Currently, Fedora's systemd RPM doesn't own systemenvgeneratordir
(ie., /usr/lib/systemd/system-environment-generators) [1] because it's
not created when systemd is installed.  In contrast, userenvgeneratordir
(ie., /usr/lib/systemd/user-environment-generators) is created, unless
the environment-d Meson option is explicitly disabled.

While this can be worked around elsewhere, it's better if the upstream
build system created the directories consistently.  It will avoid
repetition, and prevent silly bugs or deviations from creeping in.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2284085
src/core/meson.build