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
This commit is contained in:
Dan Willemsen 2015-10-22 13:04:22 -07:00
parent c52b3c08fa
commit 30622bbb20
2 changed files with 2 additions and 2 deletions

View file

@ -528,7 +528,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;

View file

@ -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.c_str());