[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Fix some things using old bootloader/platform stuff.



---
 pyanaconda/kickstart.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 7ec12b1..2e82ea7 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -775,7 +775,7 @@ class PartitionData(commands.partition.F12_PartData):
             if self.fstype != "":
                 type = self.fstype
             elif self.mountpoint == "/boot":
-                type = self.anaconda.platform.defaultBootFSType
+                type = storage.defaultBootFSType
             else:
                 type = storage.defaultFSType
 
@@ -920,8 +920,9 @@ class RaidData(commands.raid.F15_RaidData):
         else:
             if self.fstype != "":
                 type = self.fstype
-            elif self.mountpoint == "/boot" and self.anaconda.platform.supportsMdRaidBoot:
-                type = self.anaconda.platform.defaultBootFSType
+            elif self.mountpoint == "/boot" and \
+                 "mdarray" in self.anaconda.bootloader.stage2_device_types:
+                type = storage.defaultBootFSType
             else:
                 type = storage.defaultFSType
 
-- 
1.7.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]