From: Kefu Chai Date: Mon, 25 Jan 2021 06:11:46 +0000 (+0800) Subject: install-deps.sh: install libzbd-dev when WITH_ZBD is set X-Git-Tag: v17.1.0~3189^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F39051%2Fhead;p=ceph.git install-deps.sh: install libzbd-dev when WITH_ZBD is set to avoid zbd backend bitrot, and for build test it in our "make check" builds. Signed-off-by: Kefu Chai --- diff --git a/install-deps.sh b/install-deps.sh index 04bfdafba5a6..44e404bff49c 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -205,6 +205,18 @@ function install_boost_on_ubuntu { ceph-libboost-timer$ver-dev } +function install_libzbd_on_ubuntu { + local project=libzbd + local sha1=44ffc287bf57e17afafec0af4d39b62d4f6c0dac + install_pkg_on_ubuntu \ + $project \ + $sha1 \ + $codename \ + check \ + libzbd \ + libzbd-dev +} + function version_lt { test $1 != $(echo -e "$1\n$2" | sort -rV | head -n 1) } @@ -291,6 +303,7 @@ else *Bionic*) ensure_decent_gcc_on_ubuntu 9 bionic [ ! $NO_BOOST_PKGS ] && install_boost_on_ubuntu bionic + $with_zbd && install_libzbd_on_ubuntu bionic ;; *) $SUDO apt-get install -y gcc