mediaHandler no longer needs to worry about mounting anything.
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)
- # 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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list