mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 21:40:20 +00:00
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:
parent
6c8bc79771
commit
06d5d8f23a
@ -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 \
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user