[PATCH] Fix cdrom install on machines with no network devices

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

 



On machines that automatically got stage2 from cdrom,
requiresNetworkInstall was checking /mnt/source/Packages to see
if the CD was available as an installation source. But it's
mounted at /mnt/stage2 at this point, so check there instead.
---
 anaconda |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/anaconda b/anaconda
index a0f2ff1..e1f0ce5 100755
--- a/anaconda
+++ b/anaconda
@@ -585,7 +585,7 @@ class Anaconda:
                 fail = True
         elif self.stage2 is not None:
             if self.stage2.startswith("cdrom://") and \
-               not os.path.isdir("/mnt/source/Packages") and \
+               not os.path.isdir("/mnt/stage2/Packages") and \
                numNetDevs == 0:
                 fail = True
 
-- 
1.6.0.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