[PATCH f17-branch 2/2] Fix anaconda not finding CD when booting without root=live:<CD>

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

 



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@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