X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=debian%2Frules;h=961fd50b1bd840b85624112d83e5aa003ccb6c5e;hb=fc42933813b2ba541bed9ef6b3e616dbf4b762ec;hp=bfe456e15d1294ab5452e77297732f3037864e7b;hpb=5f6755a8680731c05b6f213913a98ab91440d1ce;p=deb_dpdk.git diff --git a/debian/rules b/debian/rules index bfe456e1..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 @@ -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