console: Add setenv HOSTNAME console

Bug: 67678999
Test: Run serial console on Hikey

Change-Id: Ia5fa9c2af4771508d96545f6a8814a81d5ccee3c
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
Dmitry Shmidt 2017-10-11 11:18:51 -07:00
parent 85b80dc18d
commit d0fb2510e2

View file

@ -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.