diff --git a/sdk_container/src/third_party/coreos-overlay/changelog/bugfixes/2022-02-10-aws-arm64-console.md b/sdk_container/src/third_party/coreos-overlay/changelog/bugfixes/2022-02-10-aws-arm64-console.md new file mode 100644 index 0000000000..422b8c0a42 --- /dev/null +++ b/sdk_container/src/third_party/coreos-overlay/changelog/bugfixes/2022-02-10-aws-arm64-console.md @@ -0,0 +1 @@ +- AWS: specify correct console (ttyS0) on kernel command line for ARM64 instances ([PR#1628](https://github.com/flatcar-linux/coreos-overlay/pull/1628)) diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/files/grub-ec2.cfg b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/files/grub-ec2.cfg index 640de525bd..2ee4b3f33f 100644 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/files/grub-ec2.cfg +++ b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/files/grub-ec2.cfg @@ -12,3 +12,6 @@ if [ "$grub_platform" = pc ]; then terminal_input serial_com0 terminal_output serial_com0 fi +if [ "$grub_cpu" = arm64 ]; then + set linux_console="console=tty1 console=ttyS0,115200n8 earlycon" +fi diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/oem-ec2-compat-0.1.2.ebuild b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/oem-ec2-compat-0.1.2-r1.ebuild similarity index 100% rename from sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/oem-ec2-compat-0.1.2.ebuild rename to sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ec2-compat/oem-ec2-compat-0.1.2-r1.ebuild