From b9be42784808a01ca2bb97bb77b8f7514d2529bb Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Wed, 12 Feb 2020 12:27:33 -0800 Subject: [PATCH] run ext4 tools in first_stage_ramdisk Bug: 149039306 Change-Id: I646960baa3c0d5a0dedda82b1fdc3816321aaa2e Signed-off-by: Jaegeuk Kim --- libcutils/fs_config.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcutils/fs_config.cpp b/libcutils/fs_config.cpp index c4e4f8574..5805a4d19 100644 --- a/libcutils/fs_config.cpp +++ b/libcutils/fs_config.cpp @@ -201,6 +201,8 @@ static const struct fs_path_config android_files[] = { CAP_MASK_LONG(CAP_SETGID), "system/bin/simpleperf_app_runner" }, { 00755, AID_ROOT, AID_ROOT, 0, "first_stage_ramdisk/system/bin/e2fsck" }, + { 00755, AID_ROOT, AID_ROOT, 0, "first_stage_ramdisk/system/bin/tune2fs" }, + { 00755, AID_ROOT, AID_ROOT, 0, "first_stage_ramdisk/system/bin/resize2fs" }, // generic defaults { 00755, AID_ROOT, AID_ROOT, 0, "bin/*" }, { 00640, AID_ROOT, AID_SHELL, 0, "fstab.*" },