From d0fb2510e2d4d6f57afb4e1222378c099674852a Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Wed, 11 Oct 2017 11:18:51 -0700 Subject: [PATCH] console: Add setenv HOSTNAME console Bug: 67678999 Test: Run serial console on Hikey Change-Id: Ia5fa9c2af4771508d96545f6a8814a81d5ccee3c Signed-off-by: Dmitry Shmidt --- rootdir/init.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index fb1fbd4f1..d503ffe4f 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -721,6 +721,7 @@ service console /system/bin/sh user shell group shell log readproc seclabel u:r:shell:s0 + setenv HOSTNAME console on property:ro.debuggable=1 # Give writes to anyone for the trace folder on debug builds.