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

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



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


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