Skip to content

Commit

Permalink
include: fastboot: boot: override kernel-start-message
Browse files Browse the repository at this point in the history
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 <anders.roxell@linaro.org>
  • Loading branch information
roxell committed Jul 21, 2023
1 parent 51aa8a6 commit 63a1fd6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lava_test_plans/include/fastboot.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 63a1fd6

Please sign in to comment.