summaryrefslogtreecommitdiffstats
path: root/installclasses
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-02-24 11:23:40 -0600
committerDavid Lehman <dlehman@redhat.com>2009-02-24 11:23:40 -0600
commitf8b7f2be4ed499045bcd3df5d02a3c065bd2a4a3 (patch)
tree564378b9c40c2ed9fd0d7961d85325acdfb43a21 /installclasses
parent0184b44db1d50ca405f93695c02ed2f8921cdd16 (diff)
downloadanaconda-f8b7f2be4ed499045bcd3df5d02a3c065bd2a4a3.tar.gz
anaconda-f8b7f2be4ed499045bcd3df5d02a3c065bd2a4a3.tar.xz
anaconda-f8b7f2be4ed499045bcd3df5d02a3c065bd2a4a3.zip
Lots of little updates to make things use the new storage module.
exception.py: - Remove unused partedUtils import. - Collect things from storage, not partitions. gui.py: - exceptionDisks is in storage now, not diskset. installclasses/rhel.py: installclasses/fedora.py: - setDefaultPartitioning take storage arg, not partitions. iw/autopart_type.py: - Find things in storage, not partitions. iw/bootloader_main_gui.py: iw/osbootwidget.py: - Remove unused partedUtils import. - Find fsset in storage now. - Use storage, not diskset, for iterating over disks/partitions. iw/lvm_dialog_gui.py: - Fix several typos from the original storage update. iw/partition_gui.py: - Find unusedMDMembers in storage, not partitions. iw/partitionui_helpers_gui.py: - Use StorageDevice.minSize,maxSize for resize limits. - Update doUIRAIDLVMChecks to use new storage module. packages.py: - Use new storage module to list vgs for selinux hack. storage/__init__.py: - Fix FSSet.createSwapFile so it creates the file on the correct device. storage/iscsi.py: - Use new storage module to identify iscsi disks. textw/partition_text.py: textw/upgrade_text.py: - Initial update to use new storage module. yuminstall.py: - Use storage module to find space for upgrade transaction. - Use storage module to locate protected partitions to mount in doPreInstall.
Diffstat (limited to 'installclasses')
-rw-r--r--installclasses/fedora.py3
-rw-r--r--installclasses/rhel.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/installclasses/fedora.py b/installclasses/fedora.py
index 0eda0b5c8..1fdfb05c4 100644
--- a/installclasses/fedora.py
+++ b/installclasses/fedora.py
@@ -63,7 +63,8 @@ class InstallClass(BaseInstallClass):
BaseInstallClass.setInstallData(self, anaconda)
if not anaconda.isKickstart:
- BaseInstallClass.setDefaultPartitioning(self, anaconda.id.partitions,
+ BaseInstallClass.setDefaultPartitioning(self,
+ anaconda.id.storage,
CLEARPART_TYPE_LINUX)
def setSteps(self, anaconda):
diff --git a/installclasses/rhel.py b/installclasses/rhel.py
index ddfb89700..d179372b1 100644
--- a/installclasses/rhel.py
+++ b/installclasses/rhel.py
@@ -89,7 +89,7 @@ class InstallClass(BaseInstallClass):
BaseInstallClass.setInstallData(self, anaconda)
if not anaconda.isKickstart:
BaseInstallClass.setDefaultPartitioning(self,
- anaconda.id.partitions,
+ anaconda.id.storage,
CLEARPART_TYPE_LINUX)
def setSteps(self, anaconda):