summaryrefslogtreecommitdiffstats
path: root/partitioning.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-12-13 20:52:19 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-12-13 20:52:19 +0000
commit9756654625f088ae908c4d198cba1b6301199ee5 (patch)
tree771a140a4cf5ad1b0de6c38408a0841196c08bdb /partitioning.py
parenta45acd9e9a0a1cd4ed49b9fb1c6bb0bce4118429 (diff)
downloadanaconda-9756654625f088ae908c4d198cba1b6301199ee5.tar.gz
anaconda-9756654625f088ae908c4d198cba1b6301199ee5.tar.xz
anaconda-9756654625f088ae908c4d198cba1b6301199ee5.zip
* anaconda (__main__): Pass reference to anaconda object to InstallData.
* fsset.py (readFstab): Take reference to anaconda object rather than a path and intf. Pass anaconda reference to DiskSet(). * fssey.py (__main__): Removed. * installclass.py (BaseInstallClass): Pass anaconda reference to the reset() method for InstallData. * instdata.py (InstallData.reset): Take anaconda object reference as parameter. Pass anaconda to DiskSet(). * instdata.py (InstallData.__init__): Take anaconda object ref as parameter, pass it to reset() method. * kickstart.py (AnacondaKSHandlers): Store anaconda object reference, pass to DiskSet() object creations. * partedUtils.py (DiskSet): Take anaconda object reference, store. Use self.anaconda throughout DiskSet object, remove individual pass-ins of intf and other anaconda object parts. * partedUtils.py (DiskSet.dastFmt): Remove -P dasdfmt(8) arg (#218861). * partedUtils.py (DiskSet.openDevices): Remove intf, initAll, zeroMbr, and clearDevs params since those are in the anaconda object. When a kickstart install is running, the dasd found is in the clearpart list, and the --initlabel option has been used, skip the interactive dialog asking if you want to format the DASD and just do it (#218861). * partitioning.py (partitionObjectsInitialize): Removed arguments since the anaconda object provides those now. * upgrade.py (mountRootPartition): Pass anaconda object ref to DiskSet. Only pass anaconda ref to readFstab(). * upgrade.py (upgradeMountFilesystems): Likewise.
Diffstat (limited to 'partitioning.py')
-rw-r--r--partitioning.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/partitioning.py b/partitioning.py
index dc7140973..5d5a3c672 100644
--- a/partitioning.py
+++ b/partitioning.py
@@ -48,10 +48,7 @@ def partitionObjectsInitialize(anaconda):
isys.flushDriveDict()
# read in drive info
- anaconda.id.diskset.refreshDevices(anaconda.intf,
- anaconda.id.partitions.reinitializeDisks,
- anaconda.id.partitions.zeroMbr,
- anaconda.id.partitions.autoClearPartDrives)
+ anaconda.id.diskset.refreshDevices()
anaconda.id.partitions.setFromDisk(anaconda.id.diskset)
anaconda.id.partitions.setProtected(anaconda.dispatch)