device/rockchip: adjust the positon of ex2fs check cmd

Change-Id: Ic54b499e8c6e2a607f91b4e90f2a5a5e41026626
Signed-off-by: Sun ChuanHu <aaron.sun@rock-chips.com>
This commit is contained in:
Sun ChuanHu
2018-07-25 11:26:58 +08:00
parent a6ad2bf547
commit 0058f421d2
2 changed files with 1 additions and 2 deletions

View File

@ -6,3 +6,4 @@ SIZE=$(du -h -BM -s $SRC | awk '{print int($1)*1000}')
SIZE=`expr $SIZE + 1000`
# echo "create image size=${SIZE}K"
genext2fs -B 1024 -b $SIZE -d $SRC $DST
e2fsck -fy $DST

View File

@ -55,13 +55,11 @@ else
fi
$MKOEM ${OEM_CONTENT_PATH} ${IMAGE_OUT_PATH}/oem.img ${OEM_PARTITION_TYPE}
e2fsck -fy ${IMAGE_OUT_PATH}/oem.img
echo "Package oem.img [image type: ${OEM_PARTITION_TYPE}] Done..."
echo "Package userdata.img now"
$MKUSERDATA $USER_DATA_DIR ${IMAGE_OUT_PATH}/userdata.img ext2
e2fsck -fy ${IMAGE_OUT_PATH}/userdata.img
echo "Package userdata.img Done..."
if [ $ARCH == arm ];then