Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 289738 Details for
Bug 397501
stage2 on rescue cdrom ignored when used for http install
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to loader
useCD (text/plain), 2.29 KB, created by
Jerry Vonau
on 2007-12-16 23:48:23 UTC
(
hide
)
Description:
patch to loader
Filename:
MIME Type:
Creator:
Jerry Vonau
Created:
2007-12-16 23:48:23 UTC
Size:
2.29 KB
patch
obsolete
>--- urlinstall.c.orig 2007-12-13 21:52:57.000000000 -0600 >+++ urlinstall.c 2007-12-14 00:20:42.000000000 -0600 >@@ -97,15 +97,17 @@ > newtWinMessage(_("Error"), _("OK"), _(msg)); > } > >-static int loadUrlImages(struct iurlinfo * ui) { >+static int loadUrlImages(struct iurlinfo * ui, char * location, >+ moduleInfoSet modInfo, moduleList modLoaded, >+ moduleDeps * modDeps){ > char *stage2img; > char tmpstr1[1024], tmpstr2[1024]; > int rc; >+ char *cdstg2; > > /* setupRamdisk();*/ > >- /* grab the updates.img before netstg1.img so that we minimize our >- * ramdisk usage */ >+ /* grab the updates.img before netstg1.img so that we minimize our ramdisk usage */ > if (!loadSingleUrlImage(ui, "images/updates.img", > "/tmp/updates-disk.img", "/tmp/update-disk", > "/dev/loop7", 1)) { >@@ -138,16 +140,24 @@ > stage2img = "stage2.img"; > } > >- snprintf(tmpstr1, sizeof(tmpstr1), "images/%s", stage2img); >- snprintf(tmpstr2, sizeof(tmpstr2), "/tmp/%s", stage2img); >+ cdstg2 = findAnacondaCD(location, modInfo, modLoaded, *modDeps, 0); >+ >+ if (cdstg2) { >+ logMessage(INFO, "Found stage2.img on CD... using it..."); >+ stage2img = "stage2.img"; >+ >+ } else { > >- rc = loadSingleUrlImage(ui, tmpstr1, tmpstr2, >+ snprintf(tmpstr1, sizeof(tmpstr1), "images/%s", stage2img); >+ snprintf(tmpstr2, sizeof(tmpstr2), "/tmp/%s", stage2img); >+ rc = loadSingleUrlImage(ui, tmpstr1, tmpstr2, > "/mnt/runtime", "/dev/loop0", 0); >- if (rc) { >- if (rc != 2) >- newtWinMessage(_("Error"), _("OK"), >- _("Unable to retrieve the install image.")); >- return 1; >+ if (rc) { >+ if (rc != 2) >+ newtWinMessage(_("Error"), _("OK"), >+ _("Unable to retrieve the install image.")); >+ return 1; >+ } > } > > /* now verify the stamp... */ >@@ -265,7 +275,7 @@ > dir = 1; > } else { > /* need to find stage 2 on remote site */ >- if (loadUrlImages(&ui)) { >+ if (loadUrlImages(&ui, location, modInfo, modLoaded, modDeps)) { > stage = URL_STAGE_MAIN; > dir = -1; > if (loaderData->method >= 0) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 397501
: 289738