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>
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: