diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2017-11-26 14:37:02 -0500 |
---|---|---|
committer | Guo Ruijing <ruijing.guo@intel.com> | 2017-11-26 14:41:27 -0500 |
commit | cc076fe7ba6bdc7b5298ed7b19a15cad37af0307 (patch) | |
tree | 60c8a8ebb204a6fa8be63eeea87e6554f6c5cf88 /src/cni | |
parent | e5d17cb963fdbfaeff7d7274d5b9bc6c86ced23f (diff) |
fix verify jenkins failure
Change-Id: I0d9d33ea263112c627122d5af570578bc3f2284f
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src/cni')
-rwxr-xr-x | src/cni/ovsdpdk/install_cni.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/cni/ovsdpdk/install_cni.sh b/src/cni/ovsdpdk/install_cni.sh index 946d04c..d4d2ecf 100755 --- a/src/cni/ovsdpdk/install_cni.sh +++ b/src/cni/ovsdpdk/install_cni.sh @@ -3,9 +3,8 @@ set -ex export PATH=/usr/local/go/bin:$PATH - DIR="$(dirname `readlink -f $0`)" -cd $DIR + apt-get update && apt-get install -y git wget gcc wget -qO- https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz | tar -C /usr/local/ -xz rm -rf plugins @@ -13,10 +12,9 @@ git clone https://github.com/containernetworking/plugins cd plugins git checkout 5544d9ced0d6e908fe26e9dbe529c7feb87d21f5 mkdir plugins/main/ovsdpdk -cp ../ovsdpdk.go plugins/main/ovsdpdk +cp $DIR/ovsdpdk.go plugins/main/ovsdpdk sed -i "s,PLUGINS=.*,PLUGINS=plugins/main/ovsdpdk," build.sh ./build.sh mkdir -p /opt/cni/bin cp bin/ovsdpdk /opt/cni/bin -cp ../setup_ovsdpdk.sh ../teardown_ovsdpdk.sh /opt/cni/bin -rm -rf plugins +cp $DIR/setup_ovsdpdk.sh $DIR/teardown_ovsdpdk.sh /opt/cni/bin |