FIX: Download only vpp packages
[csit.git] / 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