From d304cbb06e3d8d8a4e54a893214fc4e20c8457ab Mon Sep 17 00:00:00 2001 From: luo rixin Date: Mon, 29 Jan 2024 19:25:00 +0800 Subject: [PATCH] script/run-make: install lvm2 for make check cephadm test The make check test `run-tox-cephdam` reports error: ``` if errors: > raise Error('\nERROR: '.join(errors)) E cephadmlib.exceptions.Error: lvcreate binary does not appear to be installed cephadm.py:4434: Error ``` So let's installing lvm2 for make check cephadm test. Fixes: https://tracker.ceph.com/issues/64122 Signed-off-by: luo rixin --- src/script/run-make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script/run-make.sh b/src/script/run-make.sh index 42d8a94aee1fc..938beb9ec58ab 100755 --- a/src/script/run-make.sh +++ b/src/script/run-make.sh @@ -56,7 +56,7 @@ function prepare() { if test -f ./install-deps.sh ; then ci_debug "Running install-deps.sh" - INSTALL_EXTRA_PACKAGES="ccache git $which_pkg clang" + INSTALL_EXTRA_PACKAGES="ccache git $which_pkg clang lvm2" $DRY_RUN source ./install-deps.sh || return 1 trap clean_up_after_myself EXIT fi -- 2.39.5