coreos-base/oem-ec2-compat: specify correct console on arm64

The default arm64 console (console=ttyAMA0) that is set by grub is wrong for
EC2 arm64, so fix the value and enable earlycon.
This commit is contained in:
Jeremi Piotrowski 2022-02-09 10:52:14 +01:00
parent 563b295ed7
commit d30359a806
2 changed files with 3 additions and 0 deletions

View File

@ -12,3 +12,6 @@ if [ "$grub_platform" = pc ]; then
terminal_input serial_com0 terminal_input serial_com0
terminal_output serial_com0 terminal_output serial_com0
fi fi
if [ "$grub_cpu" = arm64 ]; then
set linux_console="console=tty1 console=ttyS0,115200n8 earlycon"
fi