summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2015-10-22 13:04:22 -0700
committerDan Willemsen <dwillemsen@google.com>2015-10-30 14:51:29 -0700
commit36b24a4a20d7d1e9fee5ff14f21e9876e57db2ca (patch)
tree7a43bf5284fb654029e12ff90c6730861507895d
parent69406d904abffcfd5addf14dc96584f73ab04ff5 (diff)
downloadsystem_core-36b24a4a20d7d1e9fee5ff14f21e9876e57db2ca.zip
system_core-36b24a4a20d7d1e9fee5ff14f21e9876e57db2ca.tar.gz
system_core-36b24a4a20d7d1e9fee5ff14f21e9876e57db2ca.tar.bz2
Remove __DATE__/__TIME__ from init and debuggerd
Keeping these means that every build has different init and debuggerd binaries, even if the source was the same. So OTAs that don't touch these sources would still need to update the binaries. Both of these messages are only informational, so can be safely removed. Bootchart already encodes build-specific information from the system properties. Bug: 24204119 Change-Id: I7ebd65a20a3e031e7528c9f741616e20b3cd7446 (cherry picked from commit 30622bbb209db187f6851e4cf0cdaa147c2fca9f)
-rw-r--r--debuggerd/debuggerd.cpp2
-rw-r--r--init/bootchart.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/debuggerd/debuggerd.cpp b/debuggerd/debuggerd.cpp
index b84a4e5..9c8a41e 100644
--- a/debuggerd/debuggerd.cpp
+++ b/debuggerd/debuggerd.cpp
@@ -538,7 +538,7 @@ static int do_server() {
return 1;
fcntl(s, F_SETFD, FD_CLOEXEC);
- ALOGI("debuggerd: " __DATE__ " " __TIME__ "\n");
+ ALOGI("debuggerd: starting\n");
for (;;) {
sockaddr addr;
diff --git a/init/bootchart.cpp b/init/bootchart.cpp
index 95687cb..df8359d 100644
--- a/init/bootchart.cpp
+++ b/init/bootchart.cpp
@@ -89,7 +89,7 @@ static void log_header() {
if (out == NULL) {
return;
}
- fprintf(out, "version = Android init 0.8 " __TIME__ "\n");
+ fprintf(out, "version = Android init 0.8\n");
fprintf(out, "title = Boot chart for Android (%s)\n", date);
fprintf(out, "system.uname = %s %s %s %s\n", uts.sysname, uts.release, uts.version, uts.machine);
fprintf(out, "system.release = %s\n", fingerprint);