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 Desktop

 
 
LinkBack Thread Tools
 
Old 03-06-2009, 05:02 PM
Chris Lumens
 
Default Start storage before parsing the kickstart file.

This is needed to perform sanity checks on the values given to things like
clearpart --drives, as well as to add requests later on. Waiting until we're
into the dispatcher steps is too late.
---
kickstart.py | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/kickstart.py b/kickstart.py
index 012d1bc..9e95fdb 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -1008,9 +1008,10 @@ def addPartRequest(anaconda, request):
anaconda.id.storage.autoPartitionRequests.append(r equest)

def processKickstartFile(anaconda, file):
- # make sure our disks are alive
- from partedUtils import DiskSet
- ds = DiskSet(anaconda)
+ # We need to make sure storage is active before the kickstart file is read.
+ import storage
+ storage.storageInitialize(anaconda)
+ anaconda.dispatch.skipStep("storageinit")

# parse the %pre
ksparser = KickstartPreParser(AnacondaKSHandler(anaconda))
--
1.6.1.3

_______________________________________________
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 12:21 PM.

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