scripts: sd_fusing_rpi4: remove resize2fs command
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 25 Jul 2022 06:25:54 +0000 (15:25 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 17 Oct 2023 04:19:36 +0000 (13:19 +0900)
Remove resize2fs command about ext4 partitions.
It'll be resized at first booting time.

Change-Id: I6a255ffd847c133183383d4a93e10e437b8f040d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
scripts/tizen/sd_fusing_rpi4.sh

index 430018f..02a326d 100755 (executable)
@@ -137,11 +137,6 @@ function fusing_image () {
        else
                dd if=$fusing_img of=$device bs=$bs status=progress oflag=direct
        fi
-
-       local -r fstype=`blkid -o value -s TYPE $device`
-       if [[ "$fstype" =~ "ext" ]]; then
-               resize2fs -f $device
-       fi
 }
 
 function fusing_image_to_b () {
@@ -185,11 +180,6 @@ function fusing_image_to_b () {
        else
                dd if=$fusing_img of=$device bs=$bs status=progress oflag=direct
        fi
-
-       local -r fstype=`blkid -o value -s TYPE $device`
-       if [[ "$fstype" =~ "ext" ]]; then
-               resize2fs -f $device
-       fi
 }
 
 function fuse_image_tarball () {
@@ -505,7 +495,7 @@ function check_device () {
 
 function print_logo () {
        echo ""
-       echo "Raspberry Pi4 downloader, version 1.0.5"
+       echo "Raspberry Pi4 downloader, version 1.0.6"
        echo ""
 }