Browse Source

fix patches for new version of libvirt

main
Nicolas Massé 2 days ago
parent
commit
815e579244
  1. 8
      centos-10/PATCHES/20-enable-zfs.patch
  2. 8
      centos-9/PATCHES/20-enable-zfs.patch

8
centos-10/PATCHES/20-enable-zfs.patch

@ -10,12 +10,14 @@ diff --git a/SPECS/libvirt.spec b/SPECS/libvirt.spec
%define arches_numactl %{arches_x86} %{power64} aarch64 s390x %define arches_numactl %{arches_x86} %{power64} aarch64 s390x
%define arches_numad %{arches_x86} %{power64} aarch64 %define arches_numad %{arches_x86} %{power64} aarch64
%define arches_ch x86_64 aarch64 %define arches_ch x86_64 aarch64
@@ -76,12 +76,7 @@ @@ -76,14 +76,7 @@
%define with_storage_gluster 0 %define with_storage_gluster 0
%endif %endif
-# Fedora had zfs-fuse until F43 -# On Fedora 43, the 'zfs-fuse' package was removed, but is obtainable via
-%if 0%{?fedora} && 0%{?fedora} < 43 -# other means. Build the backend, but it's no longer considered to be part
-# of 'daemon-driver-storage'.
-%if 0%{?fedora}
- %define with_storage_zfs 0%{!?_without_storage_zfs:1} - %define with_storage_zfs 0%{!?_without_storage_zfs:1}
-%else -%else
- %define with_storage_zfs 0 - %define with_storage_zfs 0

8
centos-9/PATCHES/20-enable-zfs.patch

@ -10,12 +10,14 @@ diff --git a/SPECS/libvirt.spec b/SPECS/libvirt.spec
%define arches_numactl %{arches_x86} %{power64} aarch64 s390x %define arches_numactl %{arches_x86} %{power64} aarch64 s390x
%define arches_numad %{arches_x86} %{power64} aarch64 %define arches_numad %{arches_x86} %{power64} aarch64
%define arches_ch x86_64 aarch64 %define arches_ch x86_64 aarch64
@@ -76,12 +76,7 @@ @@ -76,14 +76,7 @@
%define with_storage_gluster 0 %define with_storage_gluster 0
%endif %endif
-# Fedora had zfs-fuse until F43 -# On Fedora 43, the 'zfs-fuse' package was removed, but is obtainable via
-%if 0%{?fedora} && 0%{?fedora} < 43 -# other means. Build the backend, but it's no longer considered to be part
-# of 'daemon-driver-storage'.
-%if 0%{?fedora}
- %define with_storage_zfs 0%{!?_without_storage_zfs:1} - %define with_storage_zfs 0%{!?_without_storage_zfs:1}
-%else -%else
- %define with_storage_zfs 0 - %define with_storage_zfs 0

Loading…
Cancel
Save