summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2008-02-01 12:46:02 -0600
committerDavid Lehman <dlehman@redhat.com>2008-02-05 10:41:23 -0600
commit46af5960c9bcb86517d98d24c295d3aa44ca69d1 (patch)
tree470cc73ca260d89b8ecaa0ffa6becbc23410bd70 /upgrade.py
parente58179bde1d75c8636329d2f08fc8531683e7ab3 (diff)
downloadanaconda-46af5960c9bcb86517d98d24c295d3aa44ca69d1.tar.gz
anaconda-46af5960c9bcb86517d98d24c295d3aa44ca69d1.tar.xz
anaconda-46af5960c9bcb86517d98d24c295d3aa44ca69d1.zip
Scan for encrypted devices before looking for existing roots.
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/upgrade.py b/upgrade.py
index f32aca1f6..f691f69fd 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -134,7 +134,8 @@ def findExistingRoots(anaconda, upgradeany = 0):
return []
anaconda.id.diskset.openDevices()
-
+
+ anaconda.id.partitions.getEncryptedDevices(anaconda.id.diskset)
rootparts = anaconda.id.diskset.findExistingRootPartitions(upgradeany = upgradeany)
# close the devices to make sure we don't leave things sitting open