]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
script/run-make: install lvm2 for make check cephadm test 55351/head
authorluo rixin <luorixin@huawei.com>
Mon, 29 Jan 2024 11:25:00 +0000 (19:25 +0800)
committerluo rixin <luorixin@huawei.com>
Mon, 29 Jan 2024 11:25:11 +0000 (19:25 +0800)
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 <luorixin@huawei.com>
src/script/run-make.sh

index 42d8a94aee1fc05c3d9cb6f55f92945fe46e3935..938beb9ec58ab084c77b8086de215a9fb41891d5 100755 (executable)
@@ -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