=== modified file 'src/etc/init.d/rc.sysinit' --- src/etc/init.d/rc.sysinit 2014-03-14 19:16:25 +0000 +++ src/etc/init.d/rc.sysinit 2016-07-22 13:46:32 +0000 @@ -84,8 +84,10 @@ fi fi +# update /etc/inittab's consoles. +# use sed to edit file, commenting out or uncommenting lines like: ttyS0:.* s_args="" -for tty in $lxc_console tty1 ttyS0 hvc0; do +for tty in $lxc_console tty1 ttyS0 hvc0 ttyAMA0; do if [ -e /dev/$tty ] && { echo "" >> "/dev/$tty" ; } 2>/dev/null ; then s_args="${s_args:+${s_args} }s/^#$tty:\(.*\)/$tty:\1/;" else === modified file 'src/etc/inittab' --- src/etc/inittab 2013-05-14 03:44:45 +0000 +++ src/etc/inittab 2016-07-22 13:47:27 +0000 @@ -18,6 +18,7 @@ # Put a getty on the serial port #ttyS0::respawn:/sbin/getty -L 115200 ttyS0 vt100 # GENERIC_SERIAL +ttyAMA0::respawn:/sbin/getty -L 115200 ttyAMA0 vt100 # GENERIC_SERIAL #tty1::respawn:/sbin/getty 115200 tty1 #hvc0::respawn:/sbin/getty 115200 hvc0 # xen virtual console #console::respawn:/sbin/getty 115200 console