Remove pv calls
authorAleksander Mistewicz <a.mistewicz@samsung.com>
Wed, 8 Nov 2017 16:25:51 +0000 (17:25 +0100)
committerAleksander Mistewicz <a.mistewicz@samsung.com>
Wed, 8 Nov 2017 16:25:51 +0000 (17:25 +0100)
Computers do not like human-readable progress bars.

Change-Id: I25fb1e65a4a69637de6e197d5c33a9f60930cdbf

scripts/tizen/sd_fusing_rpi3.sh

index a999641..a79972a 100755 (executable)
@@ -65,11 +65,9 @@ function fusing_image () {
                return
        fi
 
-       local -r input_size=`du -b $fusing_img | awk '{print $1}'`
-
        print_message 2 "[Fusing $1]"
        umount $device
-       dd if=$fusing_img | pv -s $input_size | dd of=$device bs=$bs
+       dd if=$fusing_img of=$device bs=$bs
        resize2fs -f $device
 }