Comment 18 for bug 1621336

Revision history for this message
Eric Desrochers (slashd) wrote :

@pitti,

As mentionned in the description :
"...So I suggest to use dh_installinit with --no-scripts for snapd.boot-ok.service."

Were you referring to something like the following ?

diff -Nru snapd-2.17.1/debian/rules snapd-2.17.1ubuntu1/debian/rules
--- snapd-2.17.1/debian/rules 2016-11-04 12:40:03.000000000 -0400
+++ snapd-2.17.1ubuntu1/debian/rules 2016-11-23 15:33:37.000000000 -0500
@@ -107,6 +107,9 @@
                -psnapd \
                snapd.autoimport.service

+override_dh_installinit:
+ dh_installinit -psnapd.boot-ok --noscripts
+
 override_dh_install:
        # we do not need this in the package, its just needed during build
        rm -rf ${CURDIR}/debian/tmp/usr/bin/xgettext-go

Eric