[PATCH] Fix up the other caller of unmountCD to pass in a device (#493537).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 yuminstall.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 42a74b5..474f03b 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):
-- 
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux