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 <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4458 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Mellanox Build Bot
This commit is contained in:
parent
057c92e3d8
commit
b4fc019be1
@ -256,13 +256,14 @@ function install_git() {
|
|||||||
|
|
||||||
function install_extra_pkgs() {
|
function install_extra_pkgs() {
|
||||||
if [[ $INSTALL_QAT == true ]]; then
|
if [[ $INSTALL_QAT == true ]]; then
|
||||||
install libudev-devel || install libudev-dev
|
install libudev-devel || install libudev-dev || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $INSTALL_QEMU == true ]]; then
|
if [[ $INSTALL_QEMU == true ]]; then
|
||||||
install qemu-system-x86 qemu-img \
|
install qemu-system-x86 qemu-img \
|
||||||
|| install qemu-system-x86 qemu-utils \
|
|| install qemu-system-x86 qemu-utils \
|
||||||
|| install qemu
|
|| install qemu \
|
||||||
|
|| :
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user