From: Grazvydas Ignotas Date: Sat, 29 May 2010 13:02:41 +0000 (+0300) Subject: flasher: print status before running finalize X-Git-Tag: sz_beta3~29 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-misc.git;a=commitdiff_plain;h=39de00ef79cc96a2650b5f301745a10d9dda4011 flasher: print status before running finalize --- diff --git a/flasher/rootfs/etc/init.d/rc b/flasher/rootfs/etc/init.d/rc index f4e5ebf..efeddcf 100755 --- a/flasher/rootfs/etc/init.d/rc +++ b/flasher/rootfs/etc/init.d/rc @@ -1,5 +1,6 @@ #!/bin/sh +. /etc/profile . /etc/updater_funcs.sh chvt $LOG_TTY diff --git a/flasher/rootfs/etc/updater.sh b/flasher/rootfs/etc/updater.sh index 26dcd36..cc4ad6f 100755 --- a/flasher/rootfs/etc/updater.sh +++ b/flasher/rootfs/etc/updater.sh @@ -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