Skip to content
Commit 2ac6b083 authored by Ryan Roberts's avatar Ryan Roberts
Browse files

cli: Fix detection of incorrect kernel



When rebooting into a new kernel, "fastpath sut configure" checks that
the booted kernel image is the one it asked for. The booted kernel image
is added to the kernel cmdline by grub. But it turns out that different
systems report the directory structure differently. My primary test
system reported "/<kernel-name>", but another system reports
"/boot/<kernel-name>" (both are mounted at /boot once linux is booted).
The regex was not able to deal with the latter and therefore we
concluded that the incorrect kernel was booted.

Fixes: 27aae23a ("cli: Implement "fastpath sut configure" command")
Signed-off-by: Ryan Roberts's avatarRyan Roberts <ryan.roberts@arm.com>
parent a1e2fa03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment