From: Ed Kern Date: Fri, 27 Apr 2018 17:42:04 +0000 (-0600) Subject: VPP: made nexus repo trusted for ubuntu X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=b655d8734efee1b7c30bb00e2b4c3b2cd87fca17;p=ci-management.git VPP: made nexus repo trusted for ubuntu ubuntu 1804 a bit more strict about using untrusted repos causing script failure. So just make the nexus repo trusted across the board. Change-Id: I200f8af16c70b150a939cbdbe6045cbcba9be358 Signed-off-by: Ed Kern --- diff --git a/jjb/scripts/setup_vpp_dpdk_dev_env.sh b/jjb/scripts/setup_vpp_dpdk_dev_env.sh index f2ceb53ad..58d8c4fd5 100644 --- a/jjb/scripts/setup_vpp_dpdk_dev_env.sh +++ b/jjb/scripts/setup_vpp_dpdk_dev_env.sh @@ -11,7 +11,7 @@ function setup { echo "REPO_URL: ${REPO_URL}" # Setup by installing vpp-dev and vpp-lib if [ "$OS_ID" == "ubuntu" ]; then - echo "deb ${REPO_URL} ./" | sudo tee /etc/apt/sources.list.d/99fd.io.list + echo "deb [trusted=yes] ${REPO_URL} ./" | sudo tee /etc/apt/sources.list.d/99fd.io.list sudo apt-get update || true sudo apt-get -y --force-yes install vpp-dpdk-dev || true sudo apt-get -y --force-yes install vpp-dpdk-dkms || true