[Pkg-libvirt-commits] [Git][libvirt-team/libvirt][debian/latest] Enable the glusterfs storage driver only on 64bit architectures
Andrea Bolognani (@abologna)
gitlab at salsa.debian.org
Tue Jul 25 19:03:29 BST 2023
Andrea Bolognani pushed to branch debian/latest at Libvirt Packaging Team / libvirt
Commits:
2adb6250 by Pino Toscano at 2023-07-15T15:17:21+02:00
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
- - - - -
2 changed files:
- debian/control
- debian/rules
Changes:
=====================================
debian/control
=====================================
@@ -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}),
=====================================
debian/rules
=====================================
@@ -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
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/commit/2adb6250164465c20e545dbe0c182a9c59931ef7
--
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/commit/2adb6250164465c20e545dbe0c182a9c59931ef7
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20230725/0602c2f7/attachment-0001.htm>
More information about the Pkg-libvirt-commits
mailing list