aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2021-01-19 13:12:25 +0000
committerGerrit Code Review <gerrit@fd.io>2021-01-19 13:12:25 +0000
commit4f7939f8031e00d6808f5ebe3ad92c4109f1e414 (patch)
treeb9ec56ecb473b83348f2ec1bc94f53740f2213d6
parent12085f96264835de7fb2fb607e57edcef603346c (diff)
parent132334c0e999bec02040dc67d1b96a16b62883a2 (diff)
Merge "[HICN-653] Add hicn repo to build script"
-rw-r--r--scripts/functions.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/functions.sh b/scripts/functions.sh
index 7258800..adf3fd1 100644
--- a/scripts/functions.sh
+++ b/scripts/functions.sh
@@ -23,6 +23,8 @@ export PATH=:${CMAKE_INSTALL_DIR}/bin:${PATH}
PACKAGECLOUD_RELEASE_REPO_DEB="https://packagecloud.io/install/repositories/fdio/release/script.deb.sh"
PACKAGECLOUD_RELEASE_REPO_RPM="https://packagecloud.io/install/repositories/fdio/release/script.rpm.sh"
+PACKAGECLOUD_HICN_REPO_DEB="https://packagecloud.io/install/repositories/fdio/hicn/script.deb.sh"
+PACKAGECLOUD_HICN_REPO_RPM="https://packagecloud.io/install/repositories/fdio/hicn/script.rpm.sh"
VPP_GIT_REPO="https://github.com/FDio/vpp"
VPP_BRANCH="stable/2005"
@@ -107,8 +109,10 @@ function setup_fdio_repo() {
if [ "${DISTRIB_ID}" == "ubuntu" ]; then
curl -s ${PACKAGECLOUD_RELEASE_REPO_DEB} | sudo bash
+ curl -s ${PACKAGECLOUD_HICN_REPO_DEB} | sudo bash
elif [ "${DISTRIB_ID}" == "centos" ]; then
curl -s ${PACKAGECLOUD_RELEASE_REPO_RPM} | sudo bash
+ curl -s ${PACKAGECLOUD_HICN_REPO_RPM} | sudo bash
curl -L ${LATEST_EPEL_REPO} > /tmp/epel-release-latest-7.noarch.rpm
rpm -ivh /tmp/epel-release-latest-7.noarch.rpm || true
else