Subject: Re: bug#76924: 31.0.50; Wrong install location for systemd user unit file

From: Andreas Schwab <[email-masked]>
Date: Tue, 11 Mar 2025 18:39:12 +0100

On Mär 11 2025, Ulrich Müller wrote:

> Sorry, I had a thinko there. Asking pkg-config isn't such a good idea.
> Imagine someone installing with prefix=/usr/local, we would then install
> the unit file in a stray location outside prefix. It is even worse for
> non-root installs where the dir may not even be writable.

But the unit file needs to be installed in a location searched by
systemd, so it needs to follow systemd's idea of prefix.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."