Fix some things using old bootloader/platform stuff.
On 08/26/2011 11:18 PM, David Lehman wrote:
---
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
Looks ok.
Ales
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|