diff options
Diffstat (limited to 'pyanaconda/kickstart.py')
-rw-r--r-- | pyanaconda/kickstart.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py index 410b0b108..548a73c83 100644 --- a/pyanaconda/kickstart.py +++ b/pyanaconda/kickstart.py @@ -774,7 +774,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 @@ -919,8 +919,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 |