build: libcephfs-devel is not needed

go-ceph does not  use CephFS development headers, so there is no need to
install libcephfs-devel.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2021-03-10 09:07:06 +01:00 committed by mergify[bot]
parent 6c8bc79771
commit 06d5d8f23a
3 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ RUN source /build.env && \
RUN ${GOROOT}/bin/go version && ${GOROOT}/bin/go env
RUN dnf -y install \
libcephfs-devel librados-devel librbd-devel \
librados-devel librbd-devel \
/usr/bin/cc \
make \
git \

View File

@ -24,8 +24,8 @@ it is **highly** encouraged to:
* Ceph-CSI uses the native Ceph libraries through the [go-ceph
package](https://github.com/ceph/go-ceph). It is required to install the
Ceph C headers in order to compile Ceph-CSI. The packages are called
`libcephfs-devel`, `librados-devel` and `librbd-devel` on many Linux
distributions. See the [go-ceph installaton
`librados-devel` and `librbd-devel` on many Linux distributions. See the
[go-ceph installaton
instructions](https://github.com/ceph/go-ceph#installation) for more
details.
* Run

View File

@ -43,9 +43,9 @@ if [ -n "$(command -v go)" ]; then
# based systems.
if ! go run -mod=vendor "${LIBCHECK}" > /dev/null; then
if [ -n "${RPM_CMD}" ]; then
echo "Packages libcephfs-devel librbd-devel librados-devel need to be installed"
echo "Packages librbd-devel librados-devel need to be installed"
elif [ -n "${DPKG_CMD}" ]; then
echo "Packages libcephfs-dev librbd-dev librados-dev need to be installed"
echo "Packages librbd-dev librados-dev need to be installed"
else
fail "error can't verify Ceph development headers"
fi