build: backport dpdk usertools support python3 only patch 34/29434/3
authorDave Wallace <dwallacelf@gmail.com>
Thu, 15 Oct 2020 19:53:50 +0000 (15:53 -0400)
committerDave Wallace <dwallacelf@gmail.com>
Mon, 19 Oct 2020 23:38:00 +0000 (23:38 +0000)
commit4b50a90aad8afe0844d4c3cb0ac3b799320b182f
tree3d4b12b9e74589b3037bc9ecb738605df69ebbf7
parentd5f8a9b0ad7a9658e99505c51574264e4f30745a
build: backport dpdk usertools support python3 only patch

- On Centos-8, 'make install-ext-deps' fails due to the
  bpr-mangle-shebangs script failing the dpdk usertools
  python scripts containing '#!/usr/bin/env python'.
  Backport usertools section of the DPDK patch which
  fixes this issue:
  http://git.dpdk.org/dpdk/commit/?id=3f6f83626cf4967a99382a6518a614a1bf3d2c20

- Also fix README to reflect name change of dpdk master
  branch to 'main'.

- On stable/2009, the dpdk build using make fails due to rpmbuild
  defaulting to using /usr/bin/python (version 2.7) which
  fails to build.  The build on master uses meson which somehow
  resolves this issue.  For this cherry-pick, fix the build by
  fixing the rpm vpp-ext-deps spec to force the use of python3.

Type: fix

Change-Id: I487b1ff2da786a4a3fd8fb0f859436b0e1885f1b
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
build/external/patches/README
build/external/patches/dpdk_20.08/0003-backport-dpdk-usertools-support-python-3-only.patch [new file with mode: 0644]
build/external/rpm/vpp-ext-deps.spec