OSDN Git Service

ext4_utils: copy mke2fs.conf to /etc
authorJin Qian <jinqian@google.com>
Wed, 7 Jun 2017 18:32:16 +0000 (11:32 -0700)
committerJin Qian <jinqian@google.com>
Mon, 19 Jun 2017 21:24:12 +0000 (14:24 -0700)
mke2fs tool reads /etc/mke2fs.conf for filesystem configurations

Bug: 35219933
Change-Id: I2af633ffd3b37f9f5ad287375ea40b212bf61a01

ext4_utils/Android.mk

index 4e350b3..a80e473 100644 (file)
@@ -110,4 +110,12 @@ LOCAL_MODULE_CLASS := EXECUTABLES
 LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/etc
 include $(BUILD_PREBUILT)
 
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := mke2fs.conf
+LOCAL_SRC_FILES := $(LOCAL_MODULE)
+LOCAL_MODULE_CLASS := ETC
+LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)
+include $(BUILD_PREBUILT)
+
 endif