mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-25 11:44:44 +00:00
Add support for console on tty1
When running moby under other hypervisors, requiring troubleshooting on the serial port can be painful. This change enables console support on tty1 similar to the way prior boot2docker images worked.
This commit is contained in:
parent
2c9c3c4b20
commit
56c6c3a0a9
@ -1,3 +1,4 @@
|
||||
console
|
||||
ttyS0
|
||||
ttyAMA0
|
||||
tty1
|
||||
|
@ -7,6 +7,9 @@
|
||||
# Put a getty on the serial port
|
||||
ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
|
||||
|
||||
# Put a getty on the console
|
||||
tty1::respawn:/sbin/getty 115200 tty1 linux
|
||||
|
||||
# Stuff to do for the 3-finger salute
|
||||
::ctrlaltdel:/sbin/reboot
|
||||
|
||||
|
@ -2,4 +2,4 @@ DEFAULT linux
|
||||
LABEL linux
|
||||
KERNEL /vmlinuz64
|
||||
INITRD /initrd.img
|
||||
APPEND earlyprintk=serial console=ttyS0
|
||||
APPEND earlyprintk=serial console=ttyS0 console=tty0
|
||||
|
@ -1753,7 +1753,8 @@ CONFIG_INPUT_EVDEV=y
|
||||
#
|
||||
# Input Device Drivers
|
||||
#
|
||||
# CONFIG_INPUT_KEYBOARD is not set
|
||||
CONFIG_INPUT_KEYBOARD=y
|
||||
CONFIG_KEYBOARD_ATKBD=y
|
||||
# CONFIG_INPUT_MOUSE is not set
|
||||
# CONFIG_INPUT_JOYSTICK is not set
|
||||
# CONFIG_INPUT_TABLET is not set
|
||||
@ -1780,7 +1781,7 @@ CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y
|
||||
#
|
||||
CONFIG_SERIO=y
|
||||
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
|
||||
# CONFIG_SERIO_I8042 is not set
|
||||
CONFIG_SERIO_I8042=y
|
||||
CONFIG_SERIO_SERPORT=y
|
||||
# CONFIG_SERIO_CT82C710 is not set
|
||||
CONFIG_SERIO_PCIPS2=y
|
||||
@ -2367,7 +2368,7 @@ CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
|
||||
#
|
||||
# HID support
|
||||
#
|
||||
# CONFIG_HID is not set
|
||||
CONFIG_HID=y
|
||||
|
||||
#
|
||||
# I2C HID support
|
||||
|
Loading…
Reference in New Issue
Block a user