diff options
author | Chris Lumens <clumens@redhat.com> | 2008-03-19 15:20:30 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-03-19 16:08:43 -0400 |
commit | 24a6fab529667dfd40ede4c9d6ed8defdaf1bde5 (patch) | |
tree | 9aa5ec0cdc5578bd94891ef04f6f942bf47cb928 /loader2 | |
parent | 9580c3abe9373692ec39fef3a8ec17d5755d943f (diff) | |
download | anaconda-24a6fab529667dfd40ede4c9d6ed8defdaf1bde5.tar.gz anaconda-24a6fab529667dfd40ede4c9d6ed8defdaf1bde5.tar.xz anaconda-24a6fab529667dfd40ede4c9d6ed8defdaf1bde5.zip |
Always unmount /mnt/source on hdiso installs before starting stage2.
Diffstat (limited to 'loader2')
-rw-r--r-- | loader2/hdinstall.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/loader2/hdinstall.c b/loader2/hdinstall.c index 09d20ce80..2eab4bc0e 100644 --- a/loader2/hdinstall.c +++ b/loader2/hdinstall.c @@ -221,8 +221,9 @@ static char * setupIsoImages(char * device, char * dirName, char * location) { /* and mounting */ rc = loadHDImages("/mnt/source", "/", "/dev/loop0", "/mnt/runtime", location); + umountLoopback("/mnt/source", "/dev/loop0"); + if (rc) { - umountLoopback("/mnt/source", "/dev/loop0"); umount("/mnt/isodir"); free(path); goto err; |