From e59f9c7e0d731e02aa31c9092ce47f3aaa4d51bc Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Thu, 14 Feb 2019 11:06:29 +0100 Subject: [CICN-16] Correct compilation error metis Change-Id: I5df7993240c57202f012203c82304eeda641826f Signed-off-by: Angelo Mantellini --- metis/scripts/build-package.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'metis/scripts') 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"} -- cgit 1.2.3-korg