Skip to content
Permalink
Browse files

Add progress status to image creator.

Signed-off-by: Bofu Chen (bafu) <bofu@dt42.io>
  • Loading branch information...
bafu committed May 24, 2019
1 parent 6a9e6cc commit 211007ad3da1f1dcfe6cf080b8d1360019f46011
Showing with 1 addition and 1 deletion.
  1. +1 −1 utils/bn-image-creator.sh
@@ -41,7 +41,7 @@ CTIME_DD=`date '+%d'`
IMAGE_FILENAME=$CTIME_YY-$CTIME_MM-$CTIME_DD-raspbian-stretch-berrynet

echo "Creating image ${IMAGE_FILENAME}.img"
sudo dd if="$DEVICE" of="$IMAGE_FILENAME".img bs=512
sudo dd if="$DEVICE" of="$IMAGE_FILENAME".img bs=512 status=progress

echo "Compressing image to ${IMAGE_FILENAME}.zip"
zip "$IMAGE_FILENAME".zip "$IMAGE_FILENAME".img

0 comments on commit 211007a

Please sign in to comment.
You can’t perform that action at this time.