mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-31 10:05:31 +00:00
rpm: disable glusterfs on RHEL-9
Support for glusterfs with KVM is being dropped in RHEL-9 in the virtualization stack. Reviewed-by: Neal Gompa <ngompa13@gmail.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
ffeab3eb4a
commit
f772c1fd2a
@ -65,10 +65,15 @@
|
||||
%endif
|
||||
|
||||
%define with_storage_gluster 0%{!?_without_storage_gluster:1}
|
||||
%ifnarch %{arches_qemu_kvm}
|
||||
# gluster is only built where qemu driver is enabled on RHEL
|
||||
%if 0%{?rhel}
|
||||
%if 0%{?rhel}
|
||||
# Glusterfs has been dropped in RHEL-9, and before that
|
||||
# was only enabled on arches where KVM exists
|
||||
%if 0%{?rhel} > 8
|
||||
%define with_storage_gluster 0
|
||||
%else
|
||||
%ifnarch %{arches_qemu_kvm}
|
||||
%define with_storage_gluster 0
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user