[sbase] Drop support for whoami
Remove whoami from BUILD.gn and rules.mk and document the change in
README. Since zircon lacks understanding of users, the utility isn't
useful.
Change-Id: I60571668a32f9d28f97fe49b4c185048f469efb1
diff --git a/BUILD.gn b/BUILD.gn
index 5fd9df7..ff8ebb8 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -109,7 +109,7 @@
":uuencode",
":wc",
":which",
- ":whoami",
+ # ":whoami",
":xargs",
":xinstall",
":yes",
@@ -319,8 +319,8 @@
}
sbase_util("which") {
}
-sbase_util("whoami") {
-}
+# sbase_util("whoami") {
+# }
sbase_util("xinstall") {
}
sbase_util("yes") {
@@ -647,10 +647,6 @@
},
{
- name = "whoami"
- },
-
- {
name = "xargs"
},
diff --git a/README b/README
index 5606eb8..476fba2 100644
--- a/README
+++ b/README
@@ -87,7 +87,6 @@
0=*|o uuencode .
0#*|o wc .
0=*|x which .
-0=*|x whoami .
0=*|o xargs (-p)
0=*|x yes .
@@ -114,6 +113,7 @@
0=*|x setsid .
0=*|o time .
0=*|o uname .
+0=*|x whoami .
diff --git a/rules.mk b/rules.mk
index dcefcb6..e540b8b 100644
--- a/rules.mk
+++ b/rules.mk
@@ -26,6 +26,7 @@
nohup \
renice \
setsid \
+ whoami \
SBASE_PROGRAMS := \
basename \
@@ -103,7 +104,6 @@
uuencode \
wc \
which \
- whoami \
xinstall \
yes \