X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fvnf%2Fvirtio-user-ping%2Fbuild_vpp.sh;fp=src%2Fvnf%2Fvirtio-user-ping%2Fbuild_vpp.sh;h=9404bb18b92ce6e9a87f059f683d649e0a0e7f94;hb=f9154df2f80bfb343b58016ad81cff5ae0b44cd3;hp=0000000000000000000000000000000000000000;hpb=dc766e69c0c08c55b6df2384bbcfd1e712f03160;p=openretriever.git diff --git a/src/vnf/virtio-user-ping/build_vpp.sh b/src/vnf/virtio-user-ping/build_vpp.sh new file mode 100755 index 0000000..9404bb1 --- /dev/null +++ b/src/vnf/virtio-user-ping/build_vpp.sh @@ -0,0 +1,13 @@ +#!/bin/bash +sudo apt-get update +sudo apt-get -y install sudo apt-transport-https devscripts git wget vim net-tools +cd /root +git clone https://gerrit.fd.io/r/vpp +cd vpp +git checkout stable/1707 +cp ../01-add-single-file.patch dpdk/dpdk-17.05_patches +cp ../02-fix-nohuge-option.patch dpdk/dpdk-17.05_patches +patch -p1 < ../virtio-user.patch +make UNATTENDED=yes install-dep || true +make bootstrap +make build; find . -type f | grep "install.*bin" | xargs -I {} cp {} /usr/bin/