diff options
author | Ed Kern <ejk@cisco.com> | 2019-07-18 15:18:11 -0600 |
---|---|---|
committer | Ed Kern <ejk@cisco.com> | 2019-07-18 15:18:11 -0600 |
commit | 5a7fdee2486c23fe5e4ede8ea5967250ebf39395 (patch) | |
tree | df69d43eaf6e03352796f932490d40d251318c1b /jjb/scripts | |
parent | 3ad991f9b0490c55c5b64c7a69bd5e6bd27c087c (diff) |
VPP: centos removing correct repo file
Centos now matching ubuntu bionic behaviour when on non master
branch
Change-Id: I5fb7ab4074ed9882bd44931ce866eab4add6539d
Signed-off-by: Ed Kern <ejk@cisco.com>
Diffstat (limited to 'jjb/scripts')
-rw-r--r-- | jjb/scripts/setup_vpp_dpdk_dev_env.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/jjb/scripts/setup_vpp_dpdk_dev_env.sh b/jjb/scripts/setup_vpp_dpdk_dev_env.sh index f761441b5..c98f6def4 100644 --- a/jjb/scripts/setup_vpp_dpdk_dev_env.sh +++ b/jjb/scripts/setup_vpp_dpdk_dev_env.sh @@ -29,7 +29,11 @@ function setup { echo "Deleting: /etc/yum.repos.d/fdio-master.repo" sudo rm /etc/yum.repos.d/fdio-master.repo fi - curl -s https://packagecloud.io/install/repositories/fdio/${STREAM}/script.rpm.sh | sudo bash + if ! [ "${STREAM}" == "master" ]; then + echo "tree not master deleting packagecloud repo pointer" + sudo rm -f /etc/yum.repos.d/fdio_master.repo + curl -s https://packagecloud.io/install/repositories/fdio/${STREAM}/script.rpm.sh | sudo bash + fi sudo yum -y install vpp-dpdk-devel || true sudo yum -y install vpp-ext-deps || true elif [ "$OS_ID" == "opensuse" ]; then |