From 56a4d1ed1ab8c0e382667ee09c6a040c4b9cf0d9 Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Tue, 27 May 2025 09:51:54 -0400 Subject: Cloud: Adjust aarch64 images to use the correct serial console The serial device name on Arm is ttyAMA, not ttyS. This splits the configuration for Cloud images based on the architecture and adjusts the kernel command line. Note that prior to this change, aarch64 would still output kernel logs to the ttyAMA0 console (on Azure, at least) due to the ACPI SPCR table. On aarch64 the console in this table, if it's present, is _always_ configured as the kernel's default console. However, systemd logs would not be sent to the serial console because it seems it was honoring the kernel command line configuration which had ttyS0 as the default. Also see: https://pagure.io/cloud-sig/issue/394 Also see: https://bugzilla.redhat.com/show_bug.cgi?id=1661288 Signed-off-by: Jeremy Cline --- teams/cloud/cloud.xml | 89 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 85 insertions(+), 4 deletions(-) (limited to 'teams/cloud/cloud.xml') diff --git a/teams/cloud/cloud.xml b/teams/cloud/cloud.xml index 1bbd2c5..59e6102 100644 --- a/teams/cloud/cloud.xml +++ b/teams/cloud/cloud.xml @@ -28,7 +28,7 @@ - + - + + + + + + + + + 5 + + false + + + + - + + + + 5 + + + + + + + false + + + + - + + + + + 10 + + + + + + + false + + + + + + + + 5 + + + + + + + false + + +