diff options
author | Chris Lumens <clumens@redhat.com> | 2006-09-18 17:56:09 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-09-18 17:56:09 +0000 |
commit | 74cd5376d8fc7a63dda91d8b3117fb0c4c4fd7d7 (patch) | |
tree | 19d685225474a69e0784b8a4ace37d1188d3eea8 /loader2 | |
parent | c7d1fcec752d976e4fc6bdd5cb21997052b81081 (diff) | |
download | anaconda-74cd5376d8fc7a63dda91d8b3117fb0c4c4fd7d7.tar.gz anaconda-74cd5376d8fc7a63dda91d8b3117fb0c4c4fd7d7.tar.xz anaconda-74cd5376d8fc7a63dda91d8b3117fb0c4c4fd7d7.zip |
Remove check for repodata/repomd.xml that doesn't understand the new RHEL tree
layout (#205571, #206072).
Diffstat (limited to 'loader2')
-rw-r--r-- | loader2/urlinstall.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/loader2/urlinstall.c b/loader2/urlinstall.c index 573e74033..432a19756 100644 --- a/loader2/urlinstall.c +++ b/loader2/urlinstall.c @@ -280,11 +280,7 @@ char * mountUrlImage(struct installMethod * method, /* before trying to pull one over network */ cdurl = findAnacondaCD(location, modInfo, modLoaded, *modDeps, 0); - /* FIXME: this hard-codes info about the backend type - which sucks */ - if (cdurl && - (loadSingleUrlImage(&ui, "repodata/repomd.xml", NULL, - NULL, NULL, 0) == 0)) { + if (cdurl) { logMessage(INFO, "Detected stage 2 image on CD"); winStatus(50, 3, _("Media Detected"), _("Local installation media detected..."), 0); @@ -293,12 +289,6 @@ char * mountUrlImage(struct installMethod * method, stage = URL_STAGE_DONE; dir = 1; - } else if (cdurl) { - /* clean up as we found a cd, but the path was bad */ - umountStage2(); - umount("/mnt/source"); - stage = URL_STAGE_MAIN; - dir = -1; } else { /* need to find stage 2 on remote site */ if (loadUrlImages(&ui)) { |