aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHoward Chen <howardsoc@google.com>2020-05-29 12:26:54 +0800
committerTheodore Ts'o <tytso@mit.edu>2021-01-27 23:34:30 -0500
commit0ea0a9e79047604a205dd3a17448271a2e25b615 (patch)
treec15fc6ed52027ce20c1a7eadc536c620b55c80a4
parent865221f5aa31bfed1cc06da5815399c9d6c7ef90 (diff)
downloade2fsprogs-0ea0a9e79047604a205dd3a17448271a2e25b615.tar.gz
AOSP: Make e2fsck depends on badblocks
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
-rw-r--r--e2fsck/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/e2fsck/Android.bp b/e2fsck/Android.bp
index d4326e531..0be6f043d 100644
--- a/e2fsck/Android.bp
+++ b/e2fsck/Android.bp
@@ -57,6 +57,7 @@ cc_binary {
shared_libs: e2fsck_libs,
system_shared_libs: ["libc", "libdl"],
+ required: ["badblocks"],
}
cc_binary {