diff options
author | Mauro Sardara <msardara@cisco.com> | 2021-01-19 13:12:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2021-01-19 13:12:25 +0000 |
commit | 4f7939f8031e00d6808f5ebe3ad92c4109f1e414 (patch) | |
tree | b9ec56ecb473b83348f2ec1bc94f53740f2213d6 | |
parent | 12085f96264835de7fb2fb607e57edcef603346c (diff) | |
parent | 132334c0e999bec02040dc67d1b96a16b62883a2 (diff) |
Merge "[HICN-653] Add hicn repo to build script"
-rw-r--r-- | scripts/functions.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/functions.sh b/scripts/functions.sh index 7258800b2..adf3fd1fc 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 |