]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: use pkg-config to get user unit dir when installing dbus user socket
authorLuca Boccassi <bluca@debian.org>
Tue, 22 Dec 2020 17:47:39 +0000 (17:47 +0000)
committerLuca Boccassi <bluca@debian.org>
Fri, 1 Jan 2021 21:33:16 +0000 (21:33 +0000)
commit53a1c944805bb213cf22df0f65013dbb400d7bf5
treec2a621ad19523651779a000ca8d2b865e2e56c3a
parentbb64bec589c0f8aa03c1be99fbd9302ee695f196
test: use pkg-config to get user unit dir when installing dbus user socket

Usually on Debian ROOTLIBDIR is /lib/<arch triplet>, which is not the right place.
Use pkg-config since we define it, and then fallback to /usr/lib/systemd/user which is
the canonical location.
On both Debian&friends and Fedora dbus/dbus-broker install the user socket/service
under /usr/lib/systemd/user, not /lib/systemd/systemd/user.
test/test-functions