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

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

 



---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux