diff --git a/20001-Add-btrfs-to-list-of-requested-libblockdev-plugins.patch b/20001-Add-btrfs-to-list-of-requested-libblockdev-plugins.patch new file mode 100644 index 0000000..f0cdb98 --- /dev/null +++ b/20001-Add-btrfs-to-list-of-requested-libblockdev-plugins.patch @@ -0,0 +1,28 @@ +From 896d28b406cccaa6114c840438b7c58c788cc31a Mon Sep 17 00:00:00 2001 +From: Neal Gompa +Date: Fri, 26 Jan 2024 12:59:43 -0500 +Subject: [PATCH] Add btrfs to list of requested libblockdev plugins + +--- + blivet/__init__.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/blivet/__init__.py b/blivet/__init__.py +index 3b9e659..99128cf 100644 +--- a/blivet/__init__.py ++++ b/blivet/__init__.py +@@ -63,9 +63,9 @@ gi.require_version("BlockDev", "2.0") + from gi.repository import GLib + from gi.repository import BlockDev as blockdev + if arch.is_s390(): +- _REQUESTED_PLUGIN_NAMES = set(("swap", "crypto", "loop", "mdraid", "mpath", "dm", "s390", "nvdimm")) ++ _REQUESTED_PLUGIN_NAMES = set(("btrfs", "swap", "crypto", "loop", "mdraid", "mpath", "dm", "s390", "nvdimm")) + else: +- _REQUESTED_PLUGIN_NAMES = set(("swap", "crypto", "loop", "mdraid", "mpath", "dm", "nvdimm")) ++ _REQUESTED_PLUGIN_NAMES = set(("btrfs", "swap", "crypto", "loop", "mdraid", "mpath", "dm", "nvdimm")) + + # nvme plugin is not generally available + if hasattr(blockdev.Plugin, "NVME"): +-- +2.43.0 + diff --git a/python-blivet.spec b/python-blivet.spec index 80d2878..554acc7 100644 --- a/python-blivet.spec +++ b/python-blivet.spec @@ -23,7 +23,7 @@ Version: 3.6.0 #%%global prerelease .b2 # prerelease, if defined, should be something like .a1, .b1, .b2.dev1, or .c2 -Release: 13%{?prerelease}%{?dist} +Release: 13.1%{?prerelease}%{?dist} Epoch: 1 License: LGPLv2+ %global realname blivet @@ -53,6 +53,9 @@ Patch19: 0020-nvme-add_unit_tests.patch Patch20: 0021-Add-support-for-creating-shared-LVM-setups.patch Patch21: 0022-add-udev-builtin-path_id-property-to-zfcp-attached-S.patch +# Hyperscale changes +Patch20001: 20001-Add-btrfs-to-list-of-requested-libblockdev-plugins.patch + # Versions of required components (done so we make sure the buildrequires # match the requires versions of things). %global partedver 3.2 @@ -215,6 +218,9 @@ configuration. %endif %changelog +* Fri Jan 26 2024 Neal Gompa - 3.6.0-13.1 +- Enable Btrfs for CentOS Hyperscale + * Thu Jan 18 2024 Vojtech Trefny - 3.6.0-13 - add udev-builtin-path_id property to zfcp-attached SCSI disks Resolves: RHEL-22007