[Pkg-utopia-maintainers] Bug#1054010: Bug#1054010: realmd: defer placement of systemd units to systemd.pc

Michael Biebl biebl at debian.org
Mon Oct 16 10:12:39 BST 2023


Am 15.10.23 um 21:52 schrieb Helmut Grohne:
> Source: realmd
> Version: 0.17.1-2
> Tags: patch
> User: helmutg at debian.org
> Usertags: dep17m2
> 
> We want to move aliased files from / to /usr to finish the /usr-merge
> transition via DEP17. realmd is affected, because it installs a systemd
> unit to /lib. Rather than just moving it to /usr, I recommend deferring
> its placement to systemd.pc. When backporting realmd, it'll thus revert
> back to /lib honouring the file move moratorium that still affects
> bookworm. I'm attaching a patch for your convenience.

configure.ac already contains

with_systemd_unit_dir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)

so it is simpler to just use
--with-systemd-unit-dir
or --with-systemd-unit-dir=yes

many autoconf based service use the snippet from
https://www.freedesktop.org/software/systemd/man/daemon.html#Installing%20systemd%20Service%20Files

or a slight variation thereof.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20231016/70a4088a/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list