diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-08-13 11:19:00 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2008-08-13 11:19:00 -1000 |
commit | 00e1bbedde5dc08abc31cfafb8834d670599d1e3 (patch) | |
tree | 71121a2e62add0dcb834ed81adda825be3a333de /loader2/cdinstall.c | |
parent | 09315bb6d6e5db4d5d21d116d910dda8943be63d (diff) | |
download | anaconda-00e1bbedde5dc08abc31cfafb8834d670599d1e3.tar.gz anaconda-00e1bbedde5dc08abc31cfafb8834d670599d1e3.tar.xz anaconda-00e1bbedde5dc08abc31cfafb8834d670599d1e3.zip |
Rest of stage2.img changes.
Reference install.img in anaconda rather than stage2.img.
Diffstat (limited to 'loader2/cdinstall.c')
-rw-r--r-- | loader2/cdinstall.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/loader2/cdinstall.c b/loader2/cdinstall.c index e3dd4ab71..3b676c1f5 100644 --- a/loader2/cdinstall.c +++ b/loader2/cdinstall.c @@ -256,7 +256,7 @@ static void queryCDMediaCheck(char *dev, char *location) { continue; } - if (asprintf(&stage2loc, "%s/images/stage2.img", + if (asprintf(&stage2loc, "%s/images/install.img", location) == -1) { logMessage(CRITICAL, "%s: %d: %m", __func__, __LINE__); abort(); @@ -299,7 +299,7 @@ static char *setupCdrom(char *location, struct loaderData_s *loaderData, return NULL; } - if (asprintf(&stage2loc, "%s/images/stage2.img", location) == -1) { + if (asprintf(&stage2loc, "%s/images/install.img", location) == -1) { logMessage(CRITICAL, "%s: %d: %m", __func__, __LINE__); abort(); } @@ -367,8 +367,8 @@ static char *setupCdrom(char *location, struct loaderData_s *loaderData, /* aid system recovery. */ if (FL_RESCUE(flags) && !FL_TEXT(flags) && totalMemory() > 128000) { - rc = copyFile(stage2loc, "/tmp/stage2.img"); - stage2img = strdup("/tmp/stage2.img"); + rc = copyFile(stage2loc, "/tmp/install.img"); + stage2img = strdup("/tmp/install.img"); stage2inram = 1; } else { stage2img = strdup(stage2loc); |