VPP: Altered dkms from download to cached copy 85/10985/1
authorEd Kern <ejk@cisco.com>
Tue, 6 Mar 2018 16:28:26 +0000 (09:28 -0700)
committerEd Kern <ejk@cisco.com>
Tue, 6 Mar 2018 16:28:26 +0000 (09:28 -0700)
Previously was driving pkg download with every vpp-csit build.
This will now used a cached copy instead to avoid failures
when dpdk repo has outages

Change-Id: I3d9bf6c369cc161a8a53cb22df93d10dd17c0031
Signed-off-by: Ed Kern <ejk@cisco.com>
jjb/scripts/setup_vpp_ubuntu_docker_test.sh

index d7a2ee1..9212fca 100644 (file)
@@ -31,7 +31,7 @@ elif [ "${OS_ID}" == "opensuse" ]; then
 fi
 
 if [ "x${IS_CSIT_VPP_JOB}" == "xTrue" ]; then
-       (cd dpdk ; apt-get download vpp-dpdk-dkms > /dev/null 2>&1) || true
+    (cp /w/dpdk/vpp-dpdk-dkms*.deb ./dpdk/ > /dev/null 2>&1 ) || true
     ls -l dpdk/*.deb || true
     echo "csit vpp-dpdk-dkms package download"
 fi
\ No newline at end of file