Whamcloud - gitweb
AOSP: Make e2fsck depends on badblocks
authorHoward Chen <howardsoc@google.com>
Fri, 29 May 2020 04:26:54 +0000 (12:26 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 Jan 2021 04:34:30 +0000 (23:34 -0500)
The e2fsck may invoke the badblocks when -c is specified.
Also the badblocks is required by Mediatek devices. Add it for
completeness.

Test: compile wembley-userdebug
Google-Bug-Id: 157393160

Change-Id: I1163129c925e93ef386e86a60c93e9c314397134
From AOSP commit: dffec44dd56175b80810657f95f8e09a7e3ab0bf

e2fsck/Android.bp

index d4326e5..0be6f04 100644 (file)
@@ -57,6 +57,7 @@ cc_binary {
 
     shared_libs: e2fsck_libs,
     system_shared_libs: ["libc", "libdl"],
+    required: ["badblocks"],
 }
 
 cc_binary {