Am 15.04.19 um 22:18 schrieb Michael Biebl: > Using debhelper compat level 12, you are able to completely decouple > dh_installinit and dh_installsystemd which would give you the ability to > implement what you want afaics.
From debhelper's changelog:
debhelper (12.1) unstable; urgency=medium
[..]
* dh_installinit: In compat 12, pass --skip-systemd-native to update-rc.d
to make it ignore systemd services.
* dh_installsystemd: In compat 12, avoid relying on dh_installinit's
shell snippets for starting services. (Closes: #887904, #887900)
And init-system-helpers:
init-system-helpers (1.52) unstable; urgency=medium
[..]
* invoke-rc.d: add option to do nothing for native systemd units.
It is useful to simplify maintainer scripts, since it allows executing
this command for sysvinit/openrc
systems, and deb-systemd-invoke for systemd systems
Versions of debhelper and init-system-helpers implementing those bits
are available in buster and stretch-backports.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature

