summaryrefslogtreecommitdiffstats
path: root/loader2/urlinstall.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/urlinstall.c')
-rw-r--r--loader2/urlinstall.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/loader2/urlinstall.c b/loader2/urlinstall.c
index fd942fec4..55b7c3dad 100644
--- a/loader2/urlinstall.c
+++ b/loader2/urlinstall.c
@@ -133,6 +133,9 @@ static int loadUrlImages(struct iurlinfo * ui) {
umountLoopback("/tmp/update-disk", "/dev/loop7");
unlink("/tmp/updates-disk.img");
unlink("/tmp/update-disk");
+ } else if (!access("/tmp/updates-disk.img", R_OK)) {
+ unpackCpioBall("/tmp/updates-disk.img", "/tmp/updates");
+ unlink("/tmp/updates-disk.img");
}
free(buf);