Replace make_ext4fs with mke2fs
make_ext4fs is deprecated and should be replaced with mke2fs
Bug: 64395169
Change-Id: Idfc8c0ee0ff598fdaa6f20bb0d4f6dca687a1b10
diff --git a/core/Makefile b/core/Makefile
index 4959e0e..8f3080a 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -2064,7 +2064,6 @@
$(HOST_OUT_JAVA_LIBRARIES)/signapk.jar \
$(HOST_OUT_JAVA_LIBRARIES)/BootSignature.jar \
$(HOST_OUT_JAVA_LIBRARIES)/VeritySigner.jar \
- $(HOST_OUT_EXECUTABLES)/make_ext4fs \
$(HOST_OUT_EXECUTABLES)/mkuserimg.sh \
$(HOST_OUT_EXECUTABLES)/mke2fs \
$(HOST_OUT_EXECUTABLES)/mkuserimg_mke2fs.sh \
diff --git a/target/product/core_minimal.mk b/target/product/core_minimal.mk
index 523df7a..8376f0d 100644
--- a/target/product/core_minimal.mk
+++ b/target/product/core_minimal.mk
@@ -76,7 +76,7 @@
libwebviewchromium_plat_support \
libwilhelm \
logd \
- make_ext4fs \
+ mke2fs \
e2fsck \
resize2fs \
tune2fs \
@@ -130,7 +130,7 @@
# Adoptable external storage supports both ext4 and f2fs
PRODUCT_PACKAGES += \
e2fsck \
- make_ext4fs \
+ mke2fs \
fsck.f2fs \
make_f2fs \
diff --git a/target/product/core_tiny.mk b/target/product/core_tiny.mk
index 5ced1a6..be270a7 100644
--- a/target/product/core_tiny.mk
+++ b/target/product/core_tiny.mk
@@ -71,7 +71,7 @@
libwilhelm \
libdrmframework_jni \
libdrmframework \
- make_ext4fs \
+ mke2fs \
e2fsck \
resize2fs \
tune2fs \