On Mon, Oct 16, 2023 at 09:28:08AM +0200, Andrea Pappacoda wrote: > While this fixes this specific issue, other systemd-related paths are > still hardcoded in the .install file. Is the approach you proposed here > the only way? Should I manually export all the systemd pkg-config > variables used in the upstream build system (sysusers.d, for instance)?
The paths below /lib are subject to move. For other paths, I am not aware of such an intention. While you could discover them in a similar way, I think that would be premature abstraction. Besides units, what also will move is udev rules. Unfortunately, those tend to be located in M-A:same packages and therefore require a more elaborate mechanism for moving. When more (types of) files are involved, I think the way to go is dh_movetousr (which is not yet available in unstable). cloudflare-ddns has received a patch, because this relatively simple mechanism was sufficient to entirely solve it already. Once applied, a binNMU can handle the conversion. Helmut