summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-11-07 22:47:26 +0000
committerJeremy Katz <katzj@redhat.com>2002-11-07 22:47:26 +0000
commit08d70e8d7b6be67203a5fbef1841530561e2c961 (patch)
treec5464305c8f86c2ea093ea2db895b97a6a5ed608 /upgrade.py
parent40050639b372e0313fd5310ff5ed4ecb8be50325 (diff)
downloadanaconda-08d70e8d7b6be67203a5fbef1841530561e2c961.tar.gz
anaconda-08d70e8d7b6be67203a5fbef1841530561e2c961.tar.xz
anaconda-08d70e8d7b6be67203a5fbef1841530561e2c961.zip
we need to reset skipped disks here so that if we find any, we'll prompt you to put a label on them at the more proper time
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/upgrade.py b/upgrade.py
index b8c75f42e..8bfb9c879 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -63,6 +63,12 @@ def findExistingRoots(intf, id, chroot):
win.pop()
+ # close the devices to make sure we don't leave things sitting open
+ diskset.closeDevices()
+
+ # this is a hack... need to clear the skipped disk list after this
+ partedUtils.DiskSet.skippedDisks = []
+
return rootparts
def getDirtyDevString(dirtyDevs):