mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +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 ${GOROOT}/bin/go version && ${GOROOT}/bin/go env
|
||||||
|
|
||||||
RUN dnf -y install \
|
RUN dnf -y install \
|
||||||
libcephfs-devel librados-devel librbd-devel \
|
librados-devel librbd-devel \
|
||||||
/usr/bin/cc \
|
/usr/bin/cc \
|
||||||
make \
|
make \
|
||||||
git \
|
git \
|
||||||
|
@ -24,8 +24,8 @@ it is **highly** encouraged to:
|
|||||||
* Ceph-CSI uses the native Ceph libraries through the [go-ceph
|
* Ceph-CSI uses the native Ceph libraries through the [go-ceph
|
||||||
package](https://github.com/ceph/go-ceph). It is required to install the
|
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
|
Ceph C headers in order to compile Ceph-CSI. The packages are called
|
||||||
`libcephfs-devel`, `librados-devel` and `librbd-devel` on many Linux
|
`librados-devel` and `librbd-devel` on many Linux distributions. See the
|
||||||
distributions. See the [go-ceph installaton
|
[go-ceph installaton
|
||||||
instructions](https://github.com/ceph/go-ceph#installation) for more
|
instructions](https://github.com/ceph/go-ceph#installation) for more
|
||||||
details.
|
details.
|
||||||
* Run
|
* Run
|
||||||
|
@ -43,9 +43,9 @@ if [ -n "$(command -v go)" ]; then
|
|||||||
# based systems.
|
# based systems.
|
||||||
if ! go run -mod=vendor "${LIBCHECK}" > /dev/null; then
|
if ! go run -mod=vendor "${LIBCHECK}" > /dev/null; then
|
||||||
if [ -n "${RPM_CMD}" ]; 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
|
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
|
else
|
||||||
fail "error can't verify Ceph development headers"
|
fail "error can't verify Ceph development headers"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user