Loading fs_mgr/Android.mk +5 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,11 @@ LOCAL_MODULE:= libfs_mgr LOCAL_STATIC_LIBRARIES := $(common_static_libraries) LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include LOCAL_CFLAGS := -Werror ifeq ($(TARGET_USERIMAGES_USE_EXT4), true) ifeq ($(TARGET_USES_MKE2FS), true) LOCAL_CFLAGS += -DTARGET_USES_MKE2FS endif endif ifneq (,$(filter userdebug,$(TARGET_BUILD_VARIANT))) LOCAL_CFLAGS += -DALLOW_ADBD_DISABLE_VERITY=1 endif Loading fs_mgr/fs_mgr.c +2 −0 Original line number Diff line number Diff line Loading @@ -101,7 +101,9 @@ static void check_fs(char *blk_device, char *fs_type, char *target) char tmpmnt_opts[64] = "errors=remount-ro"; char *e2fsck_argv[] = { E2FSCK_BIN, #ifndef TARGET_USES_MKE2FS // "-f" only for old ext4 generation tool "-f", #endif "-y", blk_device }; Loading Loading
fs_mgr/Android.mk +5 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,11 @@ LOCAL_MODULE:= libfs_mgr LOCAL_STATIC_LIBRARIES := $(common_static_libraries) LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include LOCAL_CFLAGS := -Werror ifeq ($(TARGET_USERIMAGES_USE_EXT4), true) ifeq ($(TARGET_USES_MKE2FS), true) LOCAL_CFLAGS += -DTARGET_USES_MKE2FS endif endif ifneq (,$(filter userdebug,$(TARGET_BUILD_VARIANT))) LOCAL_CFLAGS += -DALLOW_ADBD_DISABLE_VERITY=1 endif Loading
fs_mgr/fs_mgr.c +2 −0 Original line number Diff line number Diff line Loading @@ -101,7 +101,9 @@ static void check_fs(char *blk_device, char *fs_type, char *target) char tmpmnt_opts[64] = "errors=remount-ro"; char *e2fsck_argv[] = { E2FSCK_BIN, #ifndef TARGET_USES_MKE2FS // "-f" only for old ext4 generation tool "-f", #endif "-y", blk_device }; Loading