summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2011-08-26 16:17:26 -0500
committerDavid Lehman <dlehman@redhat.com>2011-08-29 10:02:47 -0500
commitce5cf8573be0a4f4c1c7b16bb4c644bee3f6e92b (patch)
tree2dfbdf5afb8f6f3d7205793bc5812d18d497c8dc
parent595d1410c33a60bb967c76e612c93cae4e24e8d1 (diff)
downloadanaconda-ce5cf8573be0a4f4c1c7b16bb4c644bee3f6e92b.tar.gz
anaconda-ce5cf8573be0a4f4c1c7b16bb4c644bee3f6e92b.tar.xz
anaconda-ce5cf8573be0a4f4c1c7b16bb4c644bee3f6e92b.zip
Fix some things using old bootloader/platform stuff.
-rw-r--r--pyanaconda/kickstart.py7
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