summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-07-06 23:37:22 +0000
committerMike Fulbright <msf@redhat.com>2001-07-06 23:37:22 +0000
commiteee60d6d6dc557013609b18e2c729b01a3d2c351 (patch)
treefc70b4f78bb08638e5298d063d9806e7cc3d7e13 /upgrade.py
parente27dbbeeb2a260822a9faa6145045d9fb9a126e0 (diff)
downloadanaconda-eee60d6d6dc557013609b18e2c729b01a3d2c351.tar.gz
anaconda-eee60d6d6dc557013609b18e2c729b01a3d2c351.tar.xz
anaconda-eee60d6d6dc557013609b18e2c729b01a3d2c351.zip
Added upgrade migrate screen. Finds ext2 partitions and offers user choice of moving to ext3
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/upgrade.py b/upgrade.py
index f5dd50253..e41007251 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -78,6 +78,15 @@ def mountRootPartition(intf, rootInfo, oldfsset, instPath, allowDirty = 0,
if flags.setupFilesystems:
oldfsset.mountFilesystems (instPath)
+# returns None if no filesystem exist to migrate
+def upgradeMigrateFind(dispatch, partitions):
+ migratereq = partitions.getMigratableRequests()
+ if not migratereq or len(migratereq) < 1:
+ dispatch.skipStep("upgrademigratefs")
+ else:
+ dispatch.skipStep("upgrademigratefs", skip = 0)
+
+
# returns None if no more swap is needed
def upgradeSwapSuggestion(dispatch, id, instPath):
# mem is in kb -- round it up to the nearest 4Mb