aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2020-11-16 11:34:04 +0100
committerMauro Sardara <msardara@cisco.com>2020-11-19 10:05:32 +0000
commit132334c0e999bec02040dc67d1b96a16b62883a2 (patch)
tree324c2dd95519c023689a6ba989b153d5b2ff8495 /scripts
parented312e8539807824dbff9e0ba06eb4a5d574eb15 (diff)
[HICN-653] Add hicn repo to build script
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I3133931e1531af34756d009aef509976f3f7b29b
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions.sh4
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