summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-11-10 17:16:42 +0000
committerErik Troan <ewt@redhat.com>2000-11-10 17:16:42 +0000
commit9e36d48ba52a855b93ec7f1d46fe82f3b5e988fa (patch)
tree82e1eb0c13c6b633f29242c128d20525f66ab496 /loader
parent21dcd7945bfdedb5d8c1dcf87fc78ddbd760e0c9 (diff)
downloadanaconda-9e36d48ba52a855b93ec7f1d46fe82f3b5e988fa.tar.gz
anaconda-9e36d48ba52a855b93ec7f1d46fe82f3b5e988fa.tar.xz
anaconda-9e36d48ba52a855b93ec7f1d46fe82f3b5e988fa.zip
loopback mount stage2.img for NFS rather then using instimage
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/loader/loader.c b/loader/loader.c
index be15ae9f0..b94e7790d 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1012,8 +1012,7 @@ static char * mountNfsImage(struct installMethod * method,
stage = NFS_STAGE_NFS;
if (!doPwMount(fullPath, "/mnt/source", "nfs", 1, 0, NULL, NULL)) {
- if (!access("/mnt/source/RedHat/instimage/usr/bin/anaconda",
- X_OK)) {
+ if (!access("/mnt/source/RedHat/base/stage2.img", X_OK)) {
if (!mountLoopback("/mnt/source/RedHat/base/stage2.img",
"/mnt/runtime", "loop0")) {
stage = NFS_STAGE_DONE;