From 6f44c11357969a8294032b01ce7efad7a6f81300 Mon Sep 17 00:00:00 2001 From: Hridya Valsaraju Date: Wed, 16 Jan 2019 13:57:26 -0800 Subject: e2fsck_static is no longer needed for remount Remount will instead use overlayfs. If the device is not configured to use overlayfs or if the device does not support dynamic partitions but has chosed to setup an ext4-dedupe filesystem, e2fsck_static must then be included in recovery. Bug: 122115286 Test: fastboot flashall Change-Id: I931282dbc67ff4ef53291bcbc5a078b500e5e807 --- Android.mk | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Android.mk b/Android.mk index 429c52dbf..9806d1091 100644 --- a/Android.mk +++ b/Android.mk @@ -63,14 +63,6 @@ LOCAL_REQUIRED_MODULES += \ endif endif -# e2fsck is needed for adb remount -R. -ifeq ($(BOARD_EXT4_SHARE_DUP_BLOCKS),true) -ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) -LOCAL_REQUIRED_MODULES += \ - e2fsck_static -endif -endif - # On A/B devices recovery-persist reads the recovery related file from the persist storage and # copies them into /data/misc/recovery. Then, for both A/B and non-A/B devices, recovery-persist # parses the last_install file and reports the embedded update metrics. Also, the last_install file -- cgit v1.2.3