On Tue, Jan 23, 2024 at 05:25:21PM -0300, Lucas Castro wrote: > dh_installsystemd look only for maintainer scripts. That means it looks only > for scripts residing in debian/ folder. > > I guess you should know about that, therefore you propose to create a > symlink from systemd file provided by upstream.
That's not the reason for proposing the change. The reason is that we need to move the units from /lib/systemd/system to /usr/lib/systemd/system in trixie but not bookworm. Encoding this in a debian/*.install file is not simple, but we updated dh_installsystemd to do exactly that. > Sorry, I'm not going to apply the solution proposed on the next release, but > I take a look what it should be the best approach for this. I do not insist on using my approach. It merely is the one I considered most suitable at the time of submitting the bug. Alternatively, you may employ dh_movetousr or update the location in debian/lsm.install (though extra work is required in case of backporting for the last option). The point of this bug is to not ship aliased locations such as /lib. Helmut

