OSDN Git Service

Require mke2fs.conf when building mke2fs
authorJin Qian <jinqian@google.com>
Wed, 7 Jun 2017 19:39:18 +0000 (12:39 -0700)
committerJin Qian <jinqian@google.com>
Mon, 19 Jun 2017 21:26:20 +0000 (14:26 -0700)
make sure mke2fs.conf is copied to /etc so that mke2fs can find it
when running on device.

Bug: 35219933
Change-Id: I400cd21ea3b643469e89bb9bb6cd1536a090598a

misc/Android.bp

index ad419e2..5183981 100644 (file)
@@ -31,6 +31,9 @@ cc_binary {
         "mk_hugefiles.c",
         "default_profile.c",
     ],
+    required: [
+        "mke2fs.conf",
+    ],
     cflags: ["-W", "-Wall", "-Wno-macro-redefined"],
     shared_libs: [
         "libext2fs",