[Build-common-hackers] Bug#715504: Please call dh_install before dh_systemd_*
stapelberg at debian.org
Tue Jul 9 19:14:08 UTC 2013
When trying to update the miredo package (which uses cdbs), I realized
that dh_systemd_enable, dh_installinit and dh_systemd_start are called
dh_install is used in this case to install miredo.service into the files
for the “miredo” package (as opposed to “miredo-server”).
dh_systemd_enable is called _before_ dh_install and therefore cannot
find any unit files.
Debhelper’s dh(1) does it in the right order: it first calls dh_install,
This affects all packages that ship a systemd service file upstream. It
does not affect the packages which ship a systemd service file in
debian/, which is why it was not found when testing :-).
More information about the Build-common-hackers