Add dpdk development packaging

Change-Id: I6aa2a6709241d99ce734c29e47487eb456907351
Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:
Damjan Marion
2017-01-09 20:24:50 +01:00
committed by Damjan Marion
parent 18b2816551
commit 2ce7f9834a
18 changed files with 234 additions and 105 deletions

View File

@ -3,12 +3,9 @@ files
*debhelper*
*.substvars
*.install
vpp-dpdk-dkms*
vpp/
vpp-dev/
vpp-lib/
vpp-dpdk-dev/
vpp-dpdk-dkms/
vpp-dbg/
vppctl/
vpp-api-lua/

View File

@ -2,7 +2,7 @@ Source: vpp
Section: net
Priority: extra
Maintainer: Cisco OpenVPP Packaging Team <bogus.address@cisco.com>
Build-Depends: debhelper (>= 9), dkms, dh-systemd, dh-python, chrpath
Build-Depends: debhelper (>= 9), dh-systemd, dh-python, chrpath
Standards-Version: 3.9.4
Package: vpp
@ -26,14 +26,6 @@ Description: Vector Packet Processing--development support
This package contains development support files for the VPP libraries
.
Package: vpp-dpdk-dev
Architecture: any
Depends: ${misc:Depends}
Description: Vector Packet Processing--development support
This package contains dpdk header files which match the dpdk version
compiled into the vpp executable
.
Package: vpp-lib
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
@ -41,7 +33,6 @@ Description: Vector Packet Processing--runtime libraries
This package contains the VPP shared libraries, including:
.
vppinfra - foundation library supporting vectors, hashes, bitmaps, pools, and string formatting.
dpdk - DPDK library
svm - vm library
vlib - vector processing library
vlib-api - binary API library
@ -54,12 +45,6 @@ Description: Vector Packet Processing--runtime plugins
This package contains VPP plugins
.
Package: vpp-dpdk-dkms
Architecture: any
Depends: ${misc:Depends}
Description: DPDK 2.1 igb_uio_driver
This package contains Linux kernel modules distributed with DPDK.
Package: vpp-api-lua
Architecture: any
Depends: ${misc:Depends}, vpp (= ${source:Version})

View File

@ -18,7 +18,7 @@ include /usr/share/dpkg/default.mk
# main packaging script based on dh7 syntax
%:
dh $@ --with dkms --with systemd,python2
dh $@ --with systemd,python2
override_dh_install:
dh_install --exclude .git
@ -31,6 +31,3 @@ override_dh_shlibdeps:
override_dh_strip:
dh_strip --dbg-package=vpp-dbg
override_dh_dkms:
dh_dkms -pvpp-dpdk-dkms