d/rules: use new dh option names 43/9643/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Mon, 23 Oct 2017 10:09:51 +0000 (12:09 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 29 Nov 2017 23:29:28 +0000 (23:29 +0000)
From man pages:
  Note that the --no-restart-on-upgrade alias is deprecated and
  will be removed in compat 11.  This is to avoid confusion with the
  --no-restart-after-upgrade option.  The --no-stop-on-upgrade
  variant was introduced in debhelper 10.2 (included in Debian
  stretch).

Follow that to be ready for compat 11 in that regard.

Change-Id: I7362a90e867bf4fefae66a4f690992b7053eb593
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
(cherry picked from commit c7873313a7fe60ac1bc229df2617153cca4318d7)
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
debian/rules

index c4487ec..8ecaa41 100755 (executable)
@@ -356,10 +356,10 @@ override_dh_dkms:
        dh_dkms -V $(DEB_VERSION_UPSTREAM)
 
 override_dh_installinit:
-       dh_installinit --no-start --no-restart-on-upgrade
+       dh_installinit --no-start --no-stop-on-upgrade
 
 override_dh_systemd_start:
-       dh_systemd_start --no-start --no-restart-on-upgrade
+       dh_systemd_start --no-start --no-stop-on-upgrade
 
 override_dh_auto_test: