FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 08-26-2011, 09:18 PM
David Lehman
 
Default 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 08-29-2011, 06:55 AM
Ales Kozumplik
 
Default 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
 

Thread Tools




All times are GMT. The time now is 10:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org