diff --git a/0006-Remove-support-for-the-MD-linear-RAID-level.patch b/0006-Remove-support-for-the-MD-linear-RAID-level.patch new file mode 100644 index 0000000..2e9a57d --- /dev/null +++ b/0006-Remove-support-for-the-MD-linear-RAID-level.patch @@ -0,0 +1,23 @@ +From a21c4fa61f75f6c900f152651308ac9b457a62da Mon Sep 17 00:00:00 2001 +From: Vojtech Trefny +Date: Thu, 23 May 2024 15:31:47 +0200 +Subject: [PATCH] Remove support for the MD linear RAID level + +The md-linear kernel module is deprecated and will be removed in +the future. +--- + blivet/devicelibs/mdraid.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/blivet/devicelibs/mdraid.py b/blivet/devicelibs/mdraid.py +index 3b60c87c4..0ef3d0a4f 100644 +--- a/blivet/devicelibs/mdraid.py ++++ b/blivet/devicelibs/mdraid.py +@@ -45,6 +45,6 @@ def is_raid_level(cls, level): + hasattr(level, 'get_size') + + +-raid_levels = MDRaidLevels(["raid0", "raid1", "raid4", "raid5", "raid6", "raid10", "linear"]) ++raid_levels = MDRaidLevels(["raid0", "raid1", "raid4", "raid5", "raid6", "raid10"]) + + EXTERNAL_DEPENDENCIES = [availability.BLOCKDEV_MDRAID_PLUGIN] diff --git a/python-blivet.spec b/python-blivet.spec index 15f5292..365ca55 100644 --- a/python-blivet.spec +++ b/python-blivet.spec @@ -5,7 +5,7 @@ Version: 3.10.0 #%%global prerelease .b2 # prerelease, if defined, should be something like .a1, .b1, .b2.dev1, or .c2 -Release: 5%{?prerelease}%{?dist} +Release: 6%{?prerelease}%{?dist} Epoch: 1 License: LGPL-2.1-or-later %global realname blivet @@ -21,6 +21,7 @@ Patch1: 0002-Fix-skipping-btrfs-calls-when-libblockdev-btrfs-plugin-is-missing.p Patch2: 0003-XFS-resize-test-fix.patch Patch3: 0004-Run-mkfs-xfs-with-force-option-by-default.patch Patch4: 0005-consolidated-s390-device-configuration.patch +Patch5: 0006-Remove-support-for-the-MD-linear-RAID-level.patch # Versions of required components (done so we make sure the buildrequires # match the requires versions of things). @@ -118,6 +119,10 @@ make DESTDIR=%{buildroot} install %{python3_sitelib}/* %changelog +* Mon Sep 09 2024 Vojtech Trefny - 3.10.0-6 +- Remove support for the MD linear RAID level + Resolves: RHEL-38386 + * Tue Jul 16 2024 Vojtech Trefny - 3.10.0-5 - Consolidated Device Configuration for RHEL 10 Resolves: RHEL-39381