Skip to content
Snippets Groups Projects
Commit 2adb6250 authored by Pino Toscano's avatar Pino Toscano
Browse files

Enable the glusterfs storage driver only on 64bit architectures

Newer versions of GlusterFS support only 64bit architectures [1];
hence, restrict the usage of GlusterFS to enable the storage driver
for it only on 64bit Linux architectures.

[1] https://tracker.debian.org/news/1444468/accepted-glusterfs-110-1-source-into-experimental/

Gbp-Dch: Short
parent c8718a36
No related branches found
No related tags found
1 merge request!196Enable the glusterfs storage driver only on 64bit architectures
Pipeline #556170 passed
......@@ -23,7 +23,7 @@ Build-Depends:
libdevmapper-dev [linux-any],
libfuse3-dev [linux-any],
libglib2.0-dev,
libglusterfs-dev [linux-any],
libglusterfs-dev [amd64 arm64 ia64 mips64el ppc64 ppc64el riscv64 s390x sparc64],
libgnutls28-dev,
libiscsi-dev [linux-any],
libnl-3-dev [linux-any],
......@@ -256,7 +256,7 @@ Description: Virtualization daemon Xen connection driver
Package: libvirt-daemon-driver-storage-gluster
Section: admin
Architecture: linux-any
Architecture: amd64 arm64 ia64 mips64el ppc64 ppc64el riscv64 s390x sparc64
Multi-Arch: no
Depends:
libvirt-daemon (= ${binary:Version}),
......
......@@ -17,6 +17,7 @@ DPKG_GENSYMBOLS_CHECK_LEVEL = 4
export DPKG_GENSYMBOLS_CHECK_LEVEL
ARCHES_CEPH = amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64el riscv64 s390x
ARCHES_GLUSTER = amd64 arm64 ia64 mips64el ppc64 ppc64el riscv64 s390x sparc64
ARCHES_LXC = alpha amd64 arm64 armel armhf hppa i386 m68k mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x sh4 sparc64 x32
ARCHES_XEN = amd64 arm64 armhf
ARCHES_VBOX = amd64 i386
......@@ -41,7 +42,11 @@ ifeq ($(DEB_HOST_ARCH_OS), linux)
else
WITH_STORAGE_RBD = -Dstorage_rbd=disabled
endif
WITH_STORAGE_GLUSTER = -Dstorage_gluster=enabled
ifneq (,$(filter $(DEB_HOST_ARCH), $(ARCHES_GLUSTER)))
WITH_STORAGE_GLUSTER = -Dstorage_gluster=enabled
else
WITH_STORAGE_GLUSTER = -Dstorage_gluster=disabled
endif
WITH_UDEV = -Dudev=enabled
WITH_CAPNG = -Dcapng=enabled
WITH_LIBNL = -Dlibnl=enabled
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment