From bd6982fc62a663c98942ed992c08b4c3526bdeb1 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 31 Mar 2021 16:40:22 +0900 Subject: [PATCH] scripts: tizen: sd_fusing: Adjust log print Show with proper tab indent for partition table when formatting and show default behavior from warnning about format. Change-Id: I36aac38f40780cf936a450c8f083c5ec1f207e6c Signed-off-by: Seung-Woo Kim --- scripts/tizen/sd_fusing_rpi3.sh | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/scripts/tizen/sd_fusing_rpi3.sh b/scripts/tizen/sd_fusing_rpi3.sh index bfdc232..103d217 100755 --- a/scripts/tizen/sd_fusing_rpi3.sh +++ b/scripts/tizen/sd_fusing_rpi3.sh @@ -199,20 +199,20 @@ function mkpart_3 () { exit 0 fi - echo "========================================" - echo "Label dev size" - echo "========================================" - echo $BOOT" " $DISK"1 " $BOOT_SZ "MB" - echo $ROOTFS" " $DISK"2 " $ROOTFS_SZ "MB" - echo $SYSTEMDATA" " $DISK"3 " $DATA_SZ "MB" - echo "[Extend]"" " $DISK"4" - echo " "$USER" " $DISK"5 " $USER_SZ "MB" - echo " "$MODULE" " $DISK"6 " $MODULE_SZ "MB" - echo " "$RAMDISK" " $DISK"7 " $RAMDISK_SZ "MB" + echo "================================================" + echo "Label dev size" + echo "================================================" + echo $BOOT" " $DISK"1 " $BOOT_SZ "MB" + echo $ROOTFS" " $DISK"2 " $ROOTFS_SZ "MB" + echo $SYSTEMDATA" " $DISK"3 " $DATA_SZ "MB" + echo "[Extend]"" " $DISK"4" + echo " "$USER" " $DISK"5 " $USER_SZ "MB" + echo " "$MODULE" " $DISK"6 " $MODULE_SZ "MB" + echo " "$RAMDISK" " $DISK"7 " $RAMDISK_SZ "MB" echo " "$RAMDISK_RECOVERY" " $DISK"8 " $RAMDISK_RECOVERY_SZ "MB" - echo " "$INFORM" " $DISK"9 " $INFORM_SZ "MB" - echo " "$HAL" " $DISK"10 " $HAL_SZ "MB" - echo " "$RESERVED2" " $DISK"11 " $RESERVED2_SZ "MB" + echo " "$INFORM" " $DISK"9 " $INFORM_SZ "MB" + echo " "$HAL" " $DISK"10 " $HAL_SZ "MB" + echo " "$RESERVED2" " $DISK"11 " $RESERVED2_SZ "MB" local MOUNT_LIST=`mount | grep $DISK | awk '{print $1}'` for mnt in $MOUNT_LIST @@ -334,7 +334,7 @@ function check_args () { if [ "$FORMAT" == "1" ]; then echo "" - echo "$(tput setaf 3)$(tput bold)$DEVICE will be formatted, Is it OK? [y/n]" + echo "$(tput setaf 3)$(tput bold)$DEVICE will be formatted, Is it OK? [y/]" tput sgr 0 read input if [ "$input" == "y" ] || [ "$input" == "Y" ]; then @@ -370,7 +370,7 @@ function check_device () { function print_logo () { echo "" - echo "Raspberry Pi downloader, version 2.0.4" + echo "Raspberry Pi downloader, version 2.0.5" echo "" } -- 2.7.4