pkg/getty: Add ARM 'ttyAMA0' console into securetty

We need to add 'ttyAMA0' console used on ARM64 platform into
securetty file to make it's possible to log into the system
as root. Also it will dismiss the below warning message before
login:
"getty: cmdline has console=ttyAMA0 but does not exist in
/etc/securetty; will not be able to log in as root on this tty ttyAMA0."

'ttyAMA1' is also added order to handle some system happens have that one
instead of 'ttyAMA0'

Signed-off-by: Dennis Chen <dennis.chen@arm.com>
This commit is contained in:
Dennis Chen 2017-07-31 09:41:35 +00:00
parent 0db4de8dc6
commit bbfb7a7442

View File

@ -28,6 +28,8 @@ hvsi1
# ARM "AMBA" serial ports
ttyAM0
ttyAM1
ttyAMA0
ttyAMA1
# s390 and s390x ports in LPAR mode
ttysclp0