aboutsummaryrefslogtreecommitdiffstats
path: root/metis/scripts
diff options
context:
space:
mode:
authorAngelo Mantellini <manangel@cisco.com>2019-02-14 11:06:29 +0100
committerAngelo Mantellini <manangel@cisco.com>2019-02-14 13:57:25 +0100
commite59f9c7e0d731e02aa31c9092ce47f3aaa4d51bc (patch)
tree99ff53c69af5135a1e8d9aee2a033ca47575880c /metis/scripts
parentffee4d39ba3b92bedd1099ea66e0ae6b9a288090 (diff)
[CICN-16] Correct compilation error metissb-forwarder/master
Change-Id: I5df7993240c57202f012203c82304eeda641826f Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'metis/scripts')
-rw-r--r--metis/scripts/build-package.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/metis/scripts/build-package.sh b/metis/scripts/build-package.sh
index f6413e39..b50c1ea7 100644
--- a/metis/scripts/build-package.sh
+++ b/metis/scripts/build-package.sh
@@ -83,18 +83,22 @@ update_fdio_repo() {
REPO_VPP_URL="${NEXUS_PROXY}/content/repositories/fd.io.stable.1701.ubuntu.xenial.main/"
REPO=${REPO_NAME:-"master.ubuntu.xenial.main"}
REPO_CICN_URL="${NEXUS_PROXY}/content/repositories/fd.io.${REPO}"
+ echo "deb ${REPO_VPP_URL} ./" | sudo tee /etc/apt/sources.list.d/99fd.io.list
+ echo "deb ${REPO_CICN_URL} ./" | sudo tee /etc/apt/sources.list.d/99fd.io.master.list
elif [ "$DISTRIB_CODENAME" == "trusty" ]; then
REPO_VPP_URL="${NEXUS_PROXY}/content/repositories/fd.io.stable.1701.ubuntu.trusty.main/"
REPO=${REPO_NAME:-"master.ubuntu.trusty.main"}
REPO_CICN_URL="${NEXUS_PROXY}/content/repositories/fd.io.${REPO}"
+ echo "deb ${REPO_VPP_URL} ./" | sudo tee /etc/apt/sources.list.d/99fd.io.list
+ echo "deb ${REPO_CICN_URL} ./" | sudo tee /etc/apt/sources.list.d/99fd.io.master.list
+ elif [ "$DISTRIB_CODENAME" == "bionic" ]; then
+ curl -s https://packagecloud.io/install/repositories/fdio/release/script.deb.sh | sudo bash
+ curl -s https://packagecloud.io/install/repositories/fdio/master/script.deb.sh | sudo bash
else
echo "Distribution $DISTRIB_CODENAME is not supported"
exit -1
fi
- echo "deb ${REPO_VPP_URL} ./" | sudo tee /etc/apt/sources.list.d/99fd.io.list
- echo "deb ${REPO_CICN_URL} ./" | sudo tee /etc/apt/sources.list.d/99fd.io.master.list
-
elif [ "$DISTRIB_ID" == "CentOS" ]; then
REPO_VPP_URL="${NEXUS_PROXY}/content/repositories/fd.io.centos7/"
REPO=${REPO_NAME:-"master.centos7"}