Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Commit

Permalink
debian: fix packaging for dpdk 18.02
Browse files Browse the repository at this point in the history
  • Loading branch information
fatih-acar committed Jun 14, 2018
1 parent 99591e7 commit a21ade7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
4 changes: 2 additions & 2 deletions debian/pktj.init
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit a21ade7

Please sign in to comment.