From b4fc019be1c7bd05d3291875d7ecdee5d36d16e5 Mon Sep 17 00:00:00 2001 From: Michal Berger Date: Fri, 25 Sep 2020 17:26:20 +0200 Subject: [PATCH] pkgdep/git: Don't fail if extra packages cannot be installed All of these packages are not available on some distros, e.g. Clearlinux. Change-Id: I9045681586992c602ff7c95a0caca739e548ab60 Signed-off-by: Michal Berger Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4458 Tested-by: SPDK CI Jenkins Reviewed-by: Tomasz Zawadzki Reviewed-by: Shuhei Matsumoto Reviewed-by: Mellanox Build Bot --- test/common/config/pkgdep/git | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/common/config/pkgdep/git b/test/common/config/pkgdep/git index 0157164f2..32a8d480e 100644 --- a/test/common/config/pkgdep/git +++ b/test/common/config/pkgdep/git @@ -256,13 +256,14 @@ function install_git() { function install_extra_pkgs() { if [[ $INSTALL_QAT == true ]]; then - install libudev-devel || install libudev-dev + install libudev-devel || install libudev-dev || : fi if [[ $INSTALL_QEMU == true ]]; then install qemu-system-x86 qemu-img \ || install qemu-system-x86 qemu-utils \ - || install qemu + || install qemu \ + || : fi }