From 1151baf223c26fdb564a92ecdf87e35a198fbdc2 Mon Sep 17 00:00:00 2001 From: Yo Chiang Date: Thu, 4 Jun 2020 16:52:27 +0800 Subject: [PATCH] dumpstate: Fix required dependencies TARGET module dumpstate requires non-existent: df TARGET module dumpstate requires non-existent: getprop TARGET module dumpstate requires non-existent: ip6tables TARGET module dumpstate requires non-existent: kill TARGET module dumpstate requires non-existent: lsmod TARGET module dumpstate requires non-existent: lsof TARGET module dumpstate requires non-existent: netstat TARGET module dumpstate requires non-existent: printenv TARGET module dumpstate requires non-existent: top TARGET module dumpstate requires non-existent: uptime TARGET module dumpstate requires non-existent: vril-dump df, kill, lsmod, lsof, netstat, printenv, top, uptime are symlinks of toybox. getprop is symlink of toolbox. ip6tables is symlink of iptables. vril-dump doesn't exist. Bug: 7456955 Test: TH noop Change-Id: I3a8b07778ae1042a51e1d5c1f0de06a55d01319d --- cmds/dumpstate/Android.bp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/cmds/dumpstate/Android.bp b/cmds/dumpstate/Android.bp index 09aee89e1b..ba54d13436 100644 --- a/cmds/dumpstate/Android.bp +++ b/cmds/dumpstate/Android.bp @@ -110,29 +110,20 @@ cc_binary { ], required: [ "atrace", - "df", - "getprop", "ip", "iptables", - "ip6tables", - "kill", "librank", "logcat", "lpdump", "lpdumpd", - "lsmod", - "lsof", - "netstat", - "printenv", "procrank", "screencap", "showmap", "ss", "storaged", - "top", - "uptime", + "toolbox", + "toybox", "vdc", - "vril-dump", ], init_rc: ["dumpstate.rc"], }