X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=debian%2Frules;h=961fd50b1bd840b85624112d83e5aa003ccb6c5e;hb=8ce204e3dcae9fd4da79b1351f01092a09f08090;hp=8ecaa41c3dd2b2ee9d1c09811887cb2c36bea9c3;hpb=203dc052ffb26b93a46db042b226e34363d4826a;p=deb_dpdk.git diff --git a/debian/rules b/debian/rules index 8ecaa41c..961fd50b 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,7 @@ export DH_OPTIONS=-v # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* include /usr/share/dpkg/default.mk -DPDK_ABI := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d '.' -f1-2) +DPDK_ABI := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d '-' -f1 | cut -d '.' -f1-2 | cut -d '~' -f1) # see FEATURE AREAS in dpkg-buildflags(1) export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie @@ -356,10 +356,10 @@ override_dh_dkms: dh_dkms -V $(DEB_VERSION_UPSTREAM) override_dh_installinit: - dh_installinit --no-start --no-stop-on-upgrade + dh_installinit --no-start --no-restart-on-upgrade override_dh_systemd_start: - dh_systemd_start --no-start --no-stop-on-upgrade + dh_systemd_start --no-start --no-restart-on-upgrade override_dh_auto_test: