c454ca
From d67e3423cf96e4b02ea54fcd2158edd210b36857 Mon Sep 17 00:00:00 2001
c454ca
From: Neal Gompa <ngompa@centosproject.org>
c454ca
Date: Mon, 28 Jun 2021 23:18:46 -0400
c454ca
Subject: [PATCH 20001/20004] Revert "Remove kickstart btrfs support"
c454ca
c454ca
Restore Btrfs support for Kickstart so system installations can
c454ca
use Btrfs and images can be built using Lorax with Btrfs as the
c454ca
filesystem.
c454ca
c454ca
This reverts commit 7e1667fbdc289d62f1dc92411a1d263c22e4be52.
c454ca
---
c454ca
 pyanaconda/core/kickstart/commands.py   | 10 +++++-----
c454ca
 pyanaconda/modules/storage/kickstart.py |  1 -
c454ca
 2 files changed, 5 insertions(+), 6 deletions(-)
c454ca
c454ca
diff --git a/pyanaconda/core/kickstart/commands.py b/pyanaconda/core/kickstart/commands.py
c454ca
index a6964de8b7..bc52a285c8 100644
c454ca
--- a/pyanaconda/core/kickstart/commands.py
c454ca
+++ b/pyanaconda/core/kickstart/commands.py
c454ca
@@ -24,10 +24,10 @@
c454ca
 # Supported kickstart commands.
c454ca
 from pykickstart.commands.authconfig import F28_Authconfig as Authconfig
c454ca
 from pykickstart.commands.authselect import F28_Authselect as Authselect
c454ca
-from pykickstart.commands.autopart import RHEL9_AutoPart as AutoPart
c454ca
+from pykickstart.commands.autopart import F29_AutoPart as AutoPart
c454ca
 from pykickstart.commands.autostep import F34_AutoStep as AutoStep
c454ca
 from pykickstart.commands.bootloader import RHEL9_Bootloader as Bootloader
c454ca
-from pykickstart.commands.btrfs import RHEL9_BTRFS as BTRFS
c454ca
+from pykickstart.commands.btrfs import F23_BTRFS as BTRFS
c454ca
 from pykickstart.commands.cdrom import FC3_Cdrom as Cdrom
c454ca
 from pykickstart.commands.clearpart import F28_ClearPart as ClearPart
c454ca
 from pykickstart.commands.displaymode import F26_DisplayMode as DisplayMode
c454ca
@@ -47,7 +47,7 @@ from pykickstart.commands.keyboard import F18_Keyboard as Keyboard
c454ca
 from pykickstart.commands.lang import F19_Lang as Lang
c454ca
 from pykickstart.commands.liveimg import F19_Liveimg as Liveimg
c454ca
 from pykickstart.commands.logging import F34_Logging as Logging
c454ca
-from pykickstart.commands.logvol import RHEL9_LogVol as LogVol
c454ca
+from pykickstart.commands.logvol import F29_LogVol as LogVol
c454ca
 from pykickstart.commands.mediacheck import FC4_MediaCheck as MediaCheck
c454ca
 from pykickstart.commands.method import F34_Method as Method
c454ca
 from pykickstart.commands.mount import F27_Mount as Mount
c454ca
@@ -55,8 +55,8 @@ from pykickstart.commands.network import F27_Network as Network
c454ca
 from pykickstart.commands.nfs import FC6_NFS as NFS
c454ca
 from pykickstart.commands.nvdimm import F28_Nvdimm as Nvdimm
c454ca
 from pykickstart.commands.ostreesetup import RHEL9_OSTreeSetup as OSTreeSetup
c454ca
-from pykickstart.commands.partition import RHEL9_Partition as Partition
c454ca
-from pykickstart.commands.raid import RHEL9_Raid as Raid
c454ca
+from pykickstart.commands.partition import F34_Partition as Partition
c454ca
+from pykickstart.commands.raid import F29_Raid as Raid
c454ca
 from pykickstart.commands.realm import F19_Realm as Realm
c454ca
 from pykickstart.commands.reboot import F23_Reboot as Reboot
c454ca
 from pykickstart.commands.repo import F33_Repo as Repo
c454ca
diff --git a/pyanaconda/modules/storage/kickstart.py b/pyanaconda/modules/storage/kickstart.py
c454ca
index 6386c38cac..0e4dddaf5b 100644
c454ca
--- a/pyanaconda/modules/storage/kickstart.py
c454ca
+++ b/pyanaconda/modules/storage/kickstart.py
c454ca
@@ -72,7 +72,6 @@ class BTRFS(COMMANDS.BTRFS):
c454ca
 
c454ca
     def parse(self, args):
c454ca
         """Parse the command."""
c454ca
-        # pylint: disable=assignment-from-no-return
c454ca
         retval = super().parse(args)
c454ca
 
c454ca
         # Check the file system type.
c454ca
-- 
c454ca
2.31.1
c454ca