From 23ebf6416ba99a2ae27056b00b48f743c02f6fec Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Mon, 25 Jul 2022 15:25:54 +0900 Subject: [PATCH] scripts: sd_fusing_rpi4: remove resize2fs command Remove resize2fs command about ext4 partitions. It'll be resized at first booting time. Change-Id: I6a255ffd847c133183383d4a93e10e437b8f040d Signed-off-by: Jaehoon Chung --- scripts/tizen/sd_fusing_rpi4.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/scripts/tizen/sd_fusing_rpi4.sh b/scripts/tizen/sd_fusing_rpi4.sh index 430018f..02a326d 100755 --- a/scripts/tizen/sd_fusing_rpi4.sh +++ b/scripts/tizen/sd_fusing_rpi4.sh @@ -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 "" } -- 2.7.4