summaryrefslogtreecommitdiffstats
path: root/debian
AgeCommit message (Collapse)AuthorFilesLines
2016-09-06Pass RTE_KERNELDIR to static build tooLuca Boccassi1-1/+1
Otherwise the DPDK build errors out when the other environment variables are set. Change-Id: Iaa63a8e747be4daae5d23fa986e184a63eed827f Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-31Fix rte-compile-pre-cppflags.patch headerLuca Boccassi1-0/+5
Add missing forwarded, origin, author, last-update fields to patch header. Change-Id: I6c422286232a2a1171e40429a478898ac4b3c6f0 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-31Add missing entries in debian/changelogLuca Boccassi1-0/+9
- Note about README.source instructions - Note about setting compiler flags in debian/rules - Note about rte-compile-pre-cppflags.patch backport Change-Id: I5f931b28a73f844147b032b36dce1d54701b333e Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-30Document how to build in debian/README.sourceLuca Boccassi1-0/+14
Change-Id: If56b884bc682988665a21c534f7637e3497cf006 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-30Set EXTRA/HOST CPP/LD/CFLAGS in debian/rulesLuca Boccassi1-0/+5
Part of fix for: W: dpdk-dev: hardening-no-relro usr/share/dpdk/x86_64-default-linuxapp-gcc/app/dpdk-pmdinfogen Change-Id: I27805d114619944d2cb0df2d35ddbf3d157aea18 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-30Import patch to set *CPPFLAGS in upstream's mkfileLuca Boccassi2-0/+44
Part of fix for: W: dpdk-dev: hardening-no-relro usr/share/dpdk/x86_64-default-linuxapp-gcc/app/dpdk-pmdinfogen Change-Id: I16b05ddb5ca59dc57be462bf756cb25fb5baaf95 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-30Merge "Change debian version to 16.07-0~git1" into deb_dpdk_16.07Christian Ehrhardt1-1/+1
2016-08-30Change debian version to 16.07-0~git1Luca Boccassi1-1/+1
Fixes Lintian error, as the Debian version cannot end in 0. Change-Id: I59983cba3879b667142f894385f830d8e1cd3146 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-30changelog: fix d/t/test-initscriptsChristian Ehrhardt1-0/+1
Mention the dep8 changes in the changelog as well. Change-Id: I5963a127b1aafea8653884df4139864e5cc48325 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-15Add optional binary kernel modules packageLuca Boccassi7-4/+277
Add optional binary kernel modules package, disabled by default (build with DEB_BUILD_OPTIONS=kernel_modules to enable). If enabled will build kernel modules against the local, current kernel version (override by adding ksrc=<path/to/kernel/sources> to DEB_BUILD_OPTIONS) into a dpdk-modules-<kernel version> package. Useful for downstream projects that ship a complete ISO, where it is not desirable to include a whole building environment for DKMS packages. Change-Id: I7e0ab239eaf08da71f9d58d60e32abf7cd42bec4 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-12d/t/test-initscripts fix false positive in adtChristian Ehrhardt1-2/+2
Due to recent upgrades some commands of the reset function can fail if the service wasn't loaded before. But in that case no reset has to be done, so make it non fatal by adding a ||/bin/true Change-Id: I1da6bf315eefc9a4348c8dbae09d534a8fab9355 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-11d/changelog: mark version as 16.07-0 until releasedChristian Ehrhardt1-1/+1
This gives derivatives like Ubuntu the chance to branch of and publish the interim state now as 16.07-0* but pickup 16.07-1 once we released it into Debian. Change-Id: I1ddcb3d7c74e9438dc243a6508c2aa51a7948188 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-03scripts: make load-devel-config not to appear as executableChristian Ehrhardt3-0/+90
Quoting the first line of the script: "#! /bin/echo must be loaded with ." Given that we should drop the .sh file ending as well as the executable flag - both are not needed to source the file. Backport of http://dpdk.org/dev/patchwork/patch/15100/ Already got an ack to be commited, but no git commit id yet. Change-Id: Iadad8b2454feb82361731fce19928b395b256fa2 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-03doc: fix old dpdk-nic-bind.py referencesChristian Ehrhardt3-0/+129
Backport of upstream fix http://dpdk.org/dev/patchwork/patch/15057/ Change-Id: Ia96157a7415da4c2817ef0b8d2b72ea6e2f86c79 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-03Add lintian-overrides for: E: dpdk-dev: arch-dependent-file-in-usr-shareChristian Ehrhardt2-0/+5
As discussed, these binaries are part of the sdk and meant to be shipped with the sdk. They are installed into dpdk-dev by the official "make install-sdk" rule. Since dpdk-dev is arch dependent it should be safe to ignore the warning. Change-Id: I540f043ff056392c3bf6a4c31ed2bcc91bfc4e05 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-02Override lintian W: embedded-javascript-libraryLuca Boccassi2-0/+2
As discussed upstream ships a human-readable version of some javascript libraries in the documentation that are known to work. It is not deemed worthwhile to try and maintain out of tree patches to make the documentation work with the version of those libraries shipped by each distribution. Change-Id: Ib56955f842bac72e7a580a168ae8bd3c375a28e9 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-02changelog: fix debian-changelog-line-too-long lintian warningRicardo Salveti1-4/+5
Change-Id: I37a6eaf8be830ed0e233cb7324558448cbc09687 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-08-02Fix upstream rc versions by using "~" instead of "-"Luca Boccassi11-218/+223
16.07-rc1 evaluates as newer than 16.07 which causes issues with Debian tools and Lintian errors and warnings: - W: libethdev4: latest-debian-changelog-entry-without-new-version - E: libethdev4: symbols-file-contains-current-version-with-debian-revision on symbol DPDK_16.04@DPDK_16.04 and 114 others Change-Id: I12424e445ba539f0767006db22beff07adad9f71 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-02Fix typo in dpdk-doc.README.DebianLuca Boccassi2-1/+3
Change-Id: I6776a67f94866057d02039fc659866e030119fea Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-02Add python to dpdk-doc Recommends to fix Lintian WLuca Boccassi2-1/+4
Change-Id: I05685943c9d4d956bdf51e0c3089b5b866583dbb Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-02Convert debian/rules to new style DH targetsLuca Boccassi2-63/+29
Simplify debian/rules targets by using overrides on debhelper targets Change-Id: Id018eae33b5f93acf54b3f24e0f4733683371ad5 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-02Install api and guides in dpdk-docLuca Boccassi2-1/+2
The api and guides docs are built in the static build dir but installed from the shared dir, which is empty. Use the static dir in both the build and install targets. Change-Id: Ibd532d8cfce770b8109e04a88b51307dae2a7fde Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-02Add ${shlib:Depends} to dpdk-dev dependenciesLuca Boccassi2-1/+4
Needed for libc6 dependenc Change-Id: I5f8171c2f8a9b2f4d219fd8d65ecdaa85274d73f Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-02Changelog: mention socket permission patch renamingChristian Ehrhardt1-0/+2
Change-Id: Ie9b39a3b93ec4cc685f701b2e0a4ee0f24bbaf65 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-02Update changelog regarding lintian fixesChristian Ehrhardt1-0/+5
Change-Id: I700e9637facae2cc7faebf59148aba298461061e Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-02Drop ubuntu prefix from patchesChristian Ehrhardt4-3/+3
Since we are now packaging together in a generic .deb way I removed the ubuntu file prefix in d/p/*. Change-Id: Iae64f76129b0814148703ba402670c14cebdaa95 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-02evolve "fix unusual interpreters" along the upstream discussionChristian Ehrhardt1-4/+8
In a Discussion with Luca and Upstream DPDK it became clear that "/usr/bin/env python" is preferred for Lintian as well as in general. So change the #! to that. Change-Id: I09cd0d01ef2a086a77c9dacb530f2d06f0db163a Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-01Add d/source/options to ignore .gitreviewLuca Boccassi1-0/+1
dpkg-buildpackage and debuild source builds fail due to the .gitreview file in the root directory, which is not present in the upstream tarball, and thus causes a build failure due to the unexpected diff. Add a source/options file to extend the default file ignore list to fix the problem. Change-Id: I43336493670c68b3d3ab1c65ad432f95dbe3462b Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-08-01examples: fix unusual-interpreterChristian Ehrhardt2-0/+32
Due to regular lintian checks in Debian packaging it surfaced that these two scripts had a space in their #! statement which renders it to be human, but not shell readable. Fixes: 8673a3e8 ("examples/ip_pipeline: add config diagram generator") Fixes: fa667b46 ("examples/ip_pipeline: add core mappings script") This gets rid of lintian warning "W: dpdk-doc: unusual-interpreter" Change-Id: Ic5fd88467814ed77e0e3e0bb3747b7fa555b5d3a Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-01ethtool: remove triple license informationChristian Ehrhardt2-0/+1325
License information is already in LICENSE.GPL. Remove two extra copies and change referred filename in the files. This gets rid of lintian warning "W: dpdk-rte-kni-dkms: extra-license-file" Change-Id: I28e03be99c009e2248c884c355f043f0fe807204 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-08-01Add debian/.gitignore for debuild output filesLuca Boccassi1-0/+58
Change-Id: I6c5292ef92023c61a7aa2c243a2f1e37aa4fd56b Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-07-29debian/control: add pciutils to the dpdk depends listAnders Roxell2-0/+6
lspci is used by the dpdk-devbind script. Change-Id: I9339e3225a04a7bc374194fc9963e1393c8c37d7 Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-29Updating packaging with the 16.07 releaseChristian Ehrhardt1-0/+6
Change-Id: I2de8861ed7ce61819e12620b5faff67094cb2710 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-26Document use of dquilt in debian/README.sourceLuca Boccassi2-0/+29
Add link to Debian's wiki and short snippets with setup instrunctions Change-Id: I306723034c7f215f5244e9b3eacfaaa5c2aa4388 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-07-26Generate pkgconfig and ship it in libdpkg-devLuca Boccassi3-0/+20
The content of the libdpdk.so linker script is read at build time and the libraries included are used to generate the LIBS flags. Also the version is read from the changelog. Change-Id: I52a6dd01706713feb91004d138dbeac7e870aca5 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
2016-07-26Updating packaging with the 16.07-rc5 releaseRicardo Salveti1-0/+6
Change-Id: I8a7ec754c9aa3268afffd8567c1c31066a3c7217 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-25Updating packaging with the 16.07-rc4 releaseRicardo Salveti4-72/+96
Changes: - Tools renamed, dpdk_nic_bind is now dpdk-devbind - Adapt d/p/ubuntu-fix-vhost-user-socket-permission.patch to 16.07-rc4 Change-Id: I7b476d3d063db3b321ba6e79289ea99e337f0da0 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-25debian/control: add libpcap-dev to libdpdk-dev's Depends listAnders Roxell2-0/+4
Projects linking against librte-pmd-pcap1 can fail unless libpcap-dev is also installed. Change-Id: If17edbd5d62d15e27c4c2ebc7d3f1b5ce42c7a25 Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-19put a note in empty symbols filesChristian Ehrhardt13-0/+26
We wondered that some symbols files were empty. The TL;DR is that those are essentially driers (not libs) that registers themselve on load and are then only driven by callbacks. To avoid confising others next time looking at it we added a comment to these symbols files. Change-Id: I5e8e575d95622ff74875c22ee7c4a98b65a25912 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19Merging symbols files, handling the arch differences inline insteadRicardo Salveti5-162/+5
Change-Id: Ifd6830ba96d553ac078d2900a0dd60b820ba8032 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-19Adding package librte-pmd-bnxt1Ricardo Salveti3-0/+16
Change-Id: I20f98d244069d4ddadb753fbffa987a114d1e045 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-19Renaming package librte-pmd-e10001 to librte-pmd-e1000-1Ricardo Salveti5-7/+14
Needed to avoid mixing package name with soversion (lintian package-name-doesnt-match-sonames). Change-Id: Ic00208cf8b0568d027306d487abae827b03dbabd Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-19Fix libdpdk-dev headers pathRicardo Salveti2-1/+4
Since libdpdk-dev.dirs was removed, we need to manually create the correct includes path for libdpdk-dev. Change-Id: I9abd78ed4567623590a1d5480df488a74787156a Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-19debian/rules: allow all make commands to be verboseRicardo Salveti2-6/+9
Change-Id: Ief0486ccabc1244f123fee7af03ccbfd1c67a5f2 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-19Removing old patches, not used anymoreRicardo Salveti2-93/+0
Patches: - debian/patches/ubuntu-backport-44-linking-cleanup.patch - debian/patches/ubuntu-fix-xenvirt-support-dynamic-page-size.patch Change-Id: I2edf454da801bf726866aa5cb85965396f5d3a04 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-07-19librte-port3.symbols is now arch specificChristian Ehrhardt1-0/+22
since the following upstream commit librte-port3.symbols is arch specific. There was a feature added which itslef is arch neutral, but it is based on KNI which is not 32 bit compatible, and thereby disabled on i386. But the new feature of port to exploit it obviously depends on configured KNI, therefore the arch difference in the symbols. commit 9fc37d1c071c0b0227c0a41431d3beb2a14e31a3 Author: WeiJie Zhuang <zhuangwj@gmail.com> Date: Tue Jun 21 18:55:52 2016 +0800 port: support KNI Change-Id: I290ab11dfbeae0e301b5fe55d3404a9d46639c17 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19librte-eal2.symbols now arch specificChristian Ehrhardt1-0/+136
Since the following upstream commit symbols differ per arch. commit a088b5ea35e78d3866d492ed5e8c8f47118696a6 Author: Damjan Marion <damarion@cisco.com> Date: Thu Jul 14 15:27:29 2016 +0200 spinlock: move constructor out of x86 header file Change-Id: Ia56a6ba25b252c8551d163bdb0d96915e98a916a Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19changelog for dpdk 16.07-rc3Christian Ehrhardt1-0/+12
Change-Id: I2f25e4e212f3598d0ff89529a45833e457063653 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19update symbols of librte-pmd-bond1.symbolsChristian Ehrhardt1-2/+0
rte_eth_bond_8023ad_conf_get and rte_eth_bond_8023ad_setup Fixed broken symbols upstream by: commit 2bf4c835554a382f22a58194180ebacc2e9a5399 Author: Christian Ehrhardt <christian.ehrhardt@canonical.com> Date: Mon Jul 11 13:27:01 2016 +0200 net/bonding: fix exported symbol versioning Change-Id: Ib5fed98c8a95f11de446cb2fc1af696a6afc9aa3 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-19update symbol rte_hash_get_key_with_positionChristian Ehrhardt1-0/+2
Added upstream by commit 6dc34e0afe7a7b8815c4e09ae5cc7b01486df420 Author: Yari Adan Petralanda <yari.adan.petralanda@ericsson.com> Date: Mon Jul 4 10:59:52 2016 +0200 hash: retrieve a key given its position Change-Id: I23e177c63dc6fe96012ff38685bbc85bfa8ccefe Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>