ui_print("Mounting system...");
set_progress(1.000000);
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
show_progress(0.1, 0);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
       write_raw_image("/tmp/boot.img", "boot"),
       delete("/tmp/boot.img"));
show_progress(0.2, 10);

