[PATCH 06/11] mediaHandler no longer needs to worry about mounting anything.

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

 



It's impossible to get into mediaHandler with CD or image mounted, and
what's there only exists as a relic from when we could switch media.
So remove most of it.
---
 pyanaconda/yuminstall.py |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index 461addc..a3b4668 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -549,22 +549,8 @@ class AnacondaYum(YumSorter):
             self.repos.add(repo)
 
     def mediaHandler(self, *args, **kwargs):
-        mediaid = kwargs["mediaid"]
-        discnum = kwargs["discnum"]
         relative = kwargs["relative"]
 
-        # The package exists on media other than what's mounted right now.
-        if discnum != self.currentMedia:
-            log.info("switching from media #%s to #%s for %s" %
-                     (self.currentMedia, discnum, relative))
-
-            # Unmount any currently mounted ISO images and mount the one
-            # containing the requested packages.
-            if self.isodir:
-                self._mountInstallImage()
-            else:
-                self._mountInstallCD()
-
         ug = URLGrabber(checkfunc=kwargs["checkfunc"])
         ug.urlgrab("%s/%s" % (self.tree, kwargs["relative"]), kwargs["local"],
                    text=kwargs["text"], range=kwargs["range"], copy_local=1)
-- 
1.7.1.1

_______________________________________________
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