d/rules: properly enable dpdk systemd service 42/9642/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Mon, 23 Oct 2017 10:07:37 +0000 (12:07 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 29 Nov 2017 23:29:28 +0000 (23:29 +0000)
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>
(cherry picked from commit f27802a43419139be089eb7eccd7edac0e59daf4)
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
debian/rules

index bfe456e..c4487ec 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