d/rules: properly enable dpdk systemd service 58/8958/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Mon, 23 Oct 2017 10:07:37 +0000 (12:07 +0200)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>
Mon, 23 Oct 2017 10:07:37 +0000 (12:07 +0200)
Since ca40d310 "Convert debian/rules to new style DH targets" the
installed service is by default disabled which is not intended.

Add --with=systemd to dh, to issue the right sequence and be safe
against future changes in that regard.

Change-Id: I3d8be98397e59a3cc295368bf99fdf343d38419d
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
debian/rules

index 3acd121..49149c9 100755 (executable)
@@ -121,11 +121,11 @@ build:
        fi
        sh debian/prep-modules $(KSRC)
        cat debian/control.modules >> debian/control
-       dh $@ --with python2,dkms
+       dh $@ --with python2,dkms,systemd
 endif
 
 %:
-       dh $@ --with python2,dkms
+       dh $@ --with python2,dkms,systemd
 
 override_dh_gencontrol:
        dh_gencontrol