diff options
Diffstat (limited to 'loader2/method.c')
-rw-r--r-- | loader2/method.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/loader2/method.c b/loader2/method.c index b5691e693..7d3de457c 100644 --- a/loader2/method.c +++ b/loader2/method.c @@ -306,6 +306,12 @@ int verifyStamp(char * path) { } +/* unmount a second stage, if mounted. Used for CDs and mediacheck mostly, + so we can eject CDs. */ +void umountStage2(void) { + umount("/mnt/runtime"); + umountLoopback("/mnt/runtime", "loop0"); +} /* mount a second stage, verify the stamp file, copy updates |