X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=debian%2Frules;h=1cda101657647ba0e5cab8cb8f0489651a33f838;hb=0012711e5e76baf1178d4e7b358790aa7210dfa3;hp=8ec1287f578537d33eedb9c5e6695cf1fcc77c9b;hpb=1d71bcf35baa1d1389c6ebaf4f8aa740db63cd9f;p=deb_dpdk.git diff --git a/debian/rules b/debian/rules index 8ec1287f..1cda1016 100755 --- a/debian/rules +++ b/debian/rules @@ -7,10 +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) - -DEB_HOST_GNU_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU) -DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +DPDK_ABI := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d '-' -f1 | cut -d '.' -f1-2) # see FEATURE AREAS in dpkg-buildflags(1) export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie @@ -124,11 +121,11 @@ build: fi sh debian/prep-modules $(KSRC) cat debian/control.modules >> debian/control - dh $@ --with python2,dkms + dh $@ --with python3,dkms,systemd endif %: - dh $@ --with python2,dkms + dh $@ --with python3,dkms,systemd override_dh_gencontrol: dh_gencontrol @@ -359,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: