]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
UBUNTU: [Debian] initscripts work around bug in debhelper systemd support
authorAndy Whitcroft <apw@canonical.com>
Fri, 3 Apr 2015 14:01:58 +0000 (15:01 +0100)
committerTim Gardner <tim.gardner@canonical.com>
Fri, 26 Feb 2016 02:44:02 +0000 (19:44 -0700)
Signed-off-by: Andy Whitcroft <apw@canonical.com>
debian/rules.d/3-binary-indep.mk

index 4dbaf4f02f00fe9b5da859ca3d38a8c488dc1077..29cc54190882db9eddba1c06646cee587d026d7d 100644 (file)
@@ -161,11 +161,14 @@ binary-indep: install-indep
        dh_compress -i
        dh_fixperms -i
 ifeq ($(do_tools_common),true)
-       dh_systemd_enable
-       dh_installinit -p$(cloudpkg) --name hv-kvp-daemon
-       dh_installinit -p$(cloudpkg) --name hv-vss-daemon
-       dh_installinit -p$(cloudpkg) --name hv-fcopy-daemon
-       dh_systemd_start
+       dh_installinit -p$(cloudpkg) -n --name hv-kvp-daemon
+       dh_installinit -p$(cloudpkg) -n --name hv-vss-daemon
+       dh_installinit -p$(cloudpkg) -n --name hv-fcopy-daemon
+       dh_systemd_enable -p$(cloudpkg)
+       dh_installinit -p$(cloudpkg) -o --name hv-kvp-daemon
+       dh_installinit -p$(cloudpkg) -o --name hv-vss-daemon
+       dh_installinit -p$(cloudpkg) -o --name hv-fcopy-daemon
+       dh_systemd_start -p$(cloudpkg)
 endif
        dh_installdeb -i
        $(lockme) dh_gencontrol -i