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 > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 05-04-2012, 07:50 PM
Will Woods
 
Default Fix anaconda not finding CD when booting without root=live:

Basically the same deal as commit 45363385 - look at /run/install/repo
(where the CD will be mounted) when looking for media.

Obviously, scanForMedia should handle already-mounted media instead, but
that's something for F18.
---
pyanaconda/yuminstall.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index ce7fe67..7688ccc 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -484,6 +484,11 @@ class AnacondaYum(yum.YumBase):
isys.mount("/run/initramfs/live/", self.tree, bindMount=True)
self.mediagrabber = self.mediaHandler
self._baseRepoURL = "file://%s" % self.tree
+ elif os.path.isdir("/run/install/repo/repodata"):
+ # Same hack as above. FIXME: make scanForMedia do this, dammit
+ isys.mount("/run/install/repo", self.tree, bindMount=True)
+ self.mediagrabber = self.mediaHandler
+ self._baseRepoURL = "file://%s" % self.tree
else:
cdr = scanForMedia(self.tree, self.anaconda.storage)
if cdr:
--
1.7.7.6

_______________________________________________
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 07:34 AM.

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