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
diff --git a/cmds/dumpstate/Android.bp b/cmds/dumpstate/Android.bp
index 09aee89..ba54d13 100644
--- a/cmds/dumpstate/Android.bp
+++ b/cmds/dumpstate/Android.bp
@@ -110,29 +110,20 @@
],
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"],
}