FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Directory

 
 
LinkBack Thread Tools
 
Old 10-27-2010, 05:10 PM
Chris Lumens
 
Default 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)

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org