From 026702170e6b88539de798de06cd4c46e6891afc Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Thu, 20 Jul 2023 12:01:31 +0200 Subject: [PATCH] include: fastboot: boot: override kernel-start-message While booting HW like e850-96, LAVA failes to match the kerel boot msg ['Linux version [0-9]'], When that happens the auto-login-action fails which means that the job fails. By changing the string that LAVA should search for 'kernel-start-message' to something that actually shows up in the log makes the auto-login-action pass and the kernel boots up fine. This is only true if the kernel_start_message variable is set to a string for LAVA to match. Signed-off-by: Anders Roxell --- lava_test_plans/include/fastboot.jinja2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lava_test_plans/include/fastboot.jinja2 b/lava_test_plans/include/fastboot.jinja2 index 6462e68c..887a84a4 100644 --- a/lava_test_plans/include/fastboot.jinja2 +++ b/lava_test_plans/include/fastboot.jinja2 @@ -270,6 +270,10 @@ reboot_to_fastboot: {{ reboot_to_fastboot }} {% block boot_target %} - boot: +{% if kernel_start_message is defined and kernel_start_message %} + parameters: + kernel-start-message: {{ kernel_start_message }} +{% endif %} {% if lxc_project == true %} namespace: target {% endif %}