[pkg-bacula-devel] Change systemd unitdir to /usr/lib/systemd. (Closes: #1065313)

Sven Hartge sven at svenhartge.de
Tue Jun 11 19:41:18 BST 2024


On 11.06.24 20:16, Carsten Leonhardt wrote:
> Hi,
> 
> Sven Hartge <sven at svenhartge.de> writes:
> 
>> Hi!
>>
>> To prevent bacula from getting removed and after not being able to fix
>> this the elegant way (by discovering the unitdir dynamically) I went
>> the brute-force way and hard-coded the new path.
> 
> Hm, I guess that will fall on our feet when we backport.

Naturally, but I wanted to get the package out, even with a sub-par fix 
for the moment, with the need to manually change this for a backport in 
mind.


> I had a go at
> dynamically setting the path myself, it seems to work out ok
> locally. Let's see what salsa says.
> 
> Although I don't see what I really did differently from you...
You defined the variables later?

I did so in the beginning, whereas your definition is inside "ifeq 
($(DEB_HOST_ARCH_OS),linux)". I fail to see the difference in the logic.

(After some prodding at my version.)

The reason is, is forgot to depend on systemd-dev. D'oh.

Grüße,
Sven.



More information about the pkg-bacula-devel mailing list