Whamcloud - gitweb
AOSP: Make badblocks host-only
authorCole Faust <colefaust@google.com>
Fri, 13 Oct 2023 19:53:10 +0000 (12:53 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 20 May 2024 17:11:10 +0000 (13:11 -0400)
It was being installed on some products when it shouldn't be.

Bug: 205632228
Test: m installclean && m with aosp/2773149
Change-Id: I7f4642ba6fa8d97f7711b6df57c4e3fd781b40fd
From AOSP commit: ecb8d2faa7411d9de228a3bd8b883ed2d5220188

misc/Android.bp

index 0656bf4..a00ac9a 100644 (file)
@@ -191,9 +191,8 @@ cc_library_static {
 //########################################################################
 // Build badblocks
 
-cc_binary {
+cc_binary_host {
     name: "badblocks",
-    host_supported: true,
     defaults: ["e2fsprogs-defaults"],
 
     srcs: ["badblocks.c"],