diff options
author | Chris Lumens <clumens@redhat.com> | 2007-10-24 18:01:48 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-10-24 18:01:48 +0000 |
commit | 9064378cd985b65f070f2b32a8d80297fbe16434 (patch) | |
tree | c86f8d1aede2797d8076774dac5dcb47c57b088e /loader2 | |
parent | c1c8558f70498552ef91cdbf1dcb8d30f74f1bf8 (diff) | |
download | anaconda-9064378cd985b65f070f2b32a8d80297fbe16434.tar.gz anaconda-9064378cd985b65f070f2b32a8d80297fbe16434.tar.xz anaconda-9064378cd985b65f070f2b32a8d80297fbe16434.zip |
Clean up after findAnacondaCD if the user provided an invalid URL so retries
work. Also attempt to look for a stage2.img on retry every time (#330641).
Diffstat (limited to 'loader2')
-rw-r--r-- | loader2/urlinstall.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/loader2/urlinstall.c b/loader2/urlinstall.c index 023f6d720..f8bd3cca6 100644 --- a/loader2/urlinstall.c +++ b/loader2/urlinstall.c @@ -281,6 +281,10 @@ char * mountUrlImage(struct installMethod * method, /* verify that our URL is specifying the correct tree */ /* we do this by attempting to pull a .discinfo file */ if (loadSingleUrlImage(&ui, ".discinfo", NULL, NULL, NULL, 1)) { + umountStage2(); + umount(location); + unlink("/tmp/cdrom"); + stage = URL_STAGE_MAIN; dir = -1; |