summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-04-02 10:22:34 -0400
committerChris Lumens <clumens@redhat.com>2009-04-02 10:22:34 -0400
commit6f73e07ad8758b427aca112e0fc989afda925a1a (patch)
treed11eaf32d864bdba86198d924e43d57c5b4396f1
parent9c270974395581e4c0c2ad0ffb28fae4245f5b35 (diff)
downloadanaconda-6f73e07ad8758b427aca112e0fc989afda925a1a.tar.gz
anaconda-6f73e07ad8758b427aca112e0fc989afda925a1a.tar.xz
anaconda-6f73e07ad8758b427aca112e0fc989afda925a1a.zip
Fix up the other caller of unmountCD to pass in a device (#493537).
-rw-r--r--yuminstall.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/yuminstall.py b/yuminstall.py
index 42a74b548..474f03b4c 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -691,7 +691,9 @@ class AnacondaYum(YumSorter):
len(grab.mirrors)))
if self.currentMedia:
- unmountCD(self.tree, self.anaconda.intf.messageWindow)
+ dev = self.anaconda.id.storage.devicetree.getDeviceByName(self.anaconda.mediaDevice)
+ dev.format.mountpoint = self.tree
+ unmountCD(dev, self.anaconda.intf.messageWindow)
self.currentMedia = None
def urlgrabberFailureCB (self, obj, *args, **kwargs):