From a21ade7e0bc044af9517229fb4766ae8f00e32ab Mon Sep 17 00:00:00 2001 From: Fatih Acar Date: Thu, 14 Jun 2018 12:37:00 +0200 Subject: [PATCH] debian: fix packaging for dpdk 18.02 --- debian/control | 2 +- debian/pktj.init | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index fd54299..4a7588d 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Homepage: http://dpdk.org/ Package: pktj Architecture: any -Depends: ${misc:Depends}, libdpdk-libethdev3, libdpdk-librte-acl2, libdpdk-librte-cfgfile2, libdpdk-librte-cmdline2, libdpdk-librte-lpm2,libdpdk-librte-pmd-i40e1, libdpdk-librte-pmd-ixgbe1 +Depends: ${misc:Depends}, librte-ethdev18.02, librte-acl18.02, librte-cfgfile18.02, librte-cmdline18.02, librte-lpm18.02, librte-pmd-i40e18.02, librte-pmd-ixgbe18.02 Description: Packet-journey Packet-journey is doing packet processing using the Data Plane Development Kit (DPDK). diff --git a/debian/pktj.init b/debian/pktj.init index 41d90f3..3eb7da5 100755 --- a/debian/pktj.init +++ b/debian/pktj.init @@ -43,7 +43,7 @@ do_start() # Create namespace if not exists if [ -n "$DEVICE_BOUND_OPT" ]; then - /sbin/dpdk_nic_bind $DEVICE_BOUND_OPT + /sbin/dpdk-devbind $DEVICE_BOUND_OPT fi [ ! -f /var/run/netns/$NSNAME ] && ip netns add $NSNAME @@ -95,7 +95,7 @@ do_stop() [ -f /var/run/netns/$NSNAME ] && ip netns delete $NSNAME if [ -n "$DEVICE_UNBOUND_OPT" ]; then - /sbin/dpdk_nic_bind $DEVICE_UNBOUND_OPT + /sbin/dpdk-devbind $DEVICE_UNBOUND_OPT fi return "$RETVAL"