diff options
author | Sen Jiang <senj@google.com> | 2018-01-08 13:50:49 -0800 |
---|---|---|
committer | Sen Jiang <senj@google.com> | 2018-01-08 13:57:34 -0800 |
commit | 902853faba0eb5c19c020afb78ccdb19c01b30b8 (patch) | |
tree | 328bba5e82d09cf11911c932ece54720445833c6 /ext4_utils | |
parent | ab8a7af9bd3e372a6d655817d34f198a94238288 (diff) | |
download | extras-902853faba0eb5c19c020afb78ccdb19c01b30b8.tar.gz |
Allow ext2 in mkuserimg_mke2fs.sh
mke2fs supports it.
Bug: 70244091
Test: made an ext2 image with mkuserimg_mke2fs.sh
Change-Id: Ic87eec440fe7d84f10a636fc0d78ead855040bc8
Diffstat (limited to 'ext4_utils')
-rwxr-xr-x | ext4_utils/mkuserimg_mke2fs.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |