flasher: print status before running finalize
[pandora-misc.git] / flasher / rootfs / etc / updater.sh
index 26dcd36..cc4ad6f 100755 (executable)
@@ -145,8 +145,16 @@ else
        log "root filesystem is missing, skipped."
 fi
 
+log "======================="
+log "results:"
+log "u-boot:     $status_uboot"
+log "u-boot-env: $status_uboot_env"
+log "kernel:     $status_uimage"
+log "rootfs:     $status_rootfs $rootfs_file"
+
 if [ -n "$finalize_mpoint" ]
 then
+       log ""
        log "running finalize script.."
        cd $finalize_mpoint
        if ! ./finalize.sh
@@ -164,11 +172,4 @@ then
        umount $rootfs_mpoint 2> /dev/null || true
 fi
 
-log "======================="
-log "results:"
-log "u-boot:     $status_uboot"
-log "u-boot-env: $status_uboot_env"
-log "kernel:     $status_uimage"
-log "rootfs:     $status_rootfs $rootfs_file"
-
 exit 0