diff --git a/mmcutils/mmcutils.c b/mmcutils/mmcutils.c index da87567..322f69b 100644 --- a/mmcutils/mmcutils.c +++ b/mmcutils/mmcutils.c @@ -341,12 +341,12 @@ run_exec_process ( char **argv) { int format_ext3_device (const char *device) { // Run mke2fs - char *const mke2fs[] = {MKE2FS_BIN, "-j", device, NULL}; + char *const mke2fs[] = {MKE2FS_BIN, "-j", "-q", device, NULL}; if(run_exec_process(mke2fs)) return -1; // Run tune2fs - char *const tune2fs[] = {TUNE2FS_BIN, "-j", "-C", "1", device, NULL}; + char *const tune2fs[] = {TUNE2FS_BIN, "-C", "1", device, NULL}; if(run_exec_process(tune2fs)) return -1; diff --git a/utilities/Android.mk b/utilities/Android.mk index f6b6e64..860781b 100644 --- a/utilities/Android.mk +++ b/utilities/Android.mk @@ -42,4 +42,14 @@ LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin LOCAL_SRC_FILES := $(LOCAL_MODULE) include $(BUILD_PREBUILT) +ifneq ($BOARD_HAS_LARGE_FILESYSTEM,) +include $(CLEAR_VARS) +LOCAL_MODULE := mke2fs +LOCAL_MODULE_TAGS := eng +LOCAL_MODULE_CLASS := RECOVERY_EXECUTABLES +LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin +LOCAL_SRC_FILES := $(LOCAL_MODULE) +include $(BUILD_PREBUILT) +endif + endif diff --git a/utilities/mke2fs b/utilities/mke2fs new file mode 100644 index 0000000..6e415b8 Binary files /dev/null and b/utilities/mke2fs differ