From 902853faba0eb5c19c020afb78ccdb19c01b30b8 Mon Sep 17 00:00:00 2001 From: Sen Jiang Date: Mon, 8 Jan 2018 13:50:49 -0800 Subject: Allow ext2 in mkuserimg_mke2fs.sh mke2fs supports it. Bug: 70244091 Test: made an ext2 image with mkuserimg_mke2fs.sh Change-Id: Ic87eec440fe7d84f10a636fc0d78ead855040bc8 --- ext4_utils/mkuserimg_mke2fs.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext4_utils') diff --git a/ext4_utils/mkuserimg_mke2fs.sh b/ext4_utils/mkuserimg_mke2fs.sh index ea73ff70..8ba8777a 100755 --- a/ext4_utils/mkuserimg_mke2fs.sh +++ b/ext4_utils/mkuserimg_mke2fs.sh @@ -133,8 +133,9 @@ if [[ $1 ]]; then fi case $EXT_VARIANT in + ext2) ;; ext4) ;; - *) echo "Only ext4 is supported!"; exit 3 ;; + *) echo "Only ext2/4 are supported!"; exit 3 ;; esac if [ -z $MOUNT_POINT ]; then -- cgit v1.2.3