FIX: Download only vpp packages 60/27060/1
authorJan Gelety <jgelety@cisco.com>
Thu, 7 May 2020 15:05:30 +0000 (17:05 +0200)
committerJan Gelety <jgelety@cisco.com>
Thu, 7 May 2020 15:05:30 +0000 (17:05 +0200)
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Change-Id: I88682b972947d73ae8433b550bd5e96b0b7c2c76

resources/libraries/bash/function/artifacts.sh

index 426782d..0a08d73 100644 (file)
@@ -88,7 +88,7 @@ function download_ubuntu_artifacts () {
 
     packages=$(apt-cache -o Dir::Etc::SourceList=${apt_fdio_repo_file} \
                -o Dir::Etc::SourceParts=${apt_fdio_repo_file} dumpavail \
-               | grep Package: | cut -d " " -f 2) || {
+               | grep Package: | cut -d " " -f 2 | grep vpp) || {
                    die "Retrieval of available VPP packages failed."
                }
     if [ -z "${VPP_VERSION-}" ]; then