vboot/vboot_kernel: change recovery behaviour on kernel failure
On load kernel failure, only call vb2api_fail when in normal
Previously, the behaviour here was to only call when attempting
to load a kernel from a fixed disk. This maps to (1) normal
mode, and (2) developer mode when booting from an internal disk.
Excluding (2) creates a more consistent experience in developer
mode, and also prepares for a world where recovery kernels might
exist on disk.
This CL is part of a series to merge vboot1 and vboot2.0
kernel verification code; see b/181739551.
TEST=make clean && make runtests
Signed-off-by: Joel Kitching <firstname.lastname@example.org>
Tested-by: Joel Kitching <email@example.com>
Commit-Queue: Joel Kitching <firstname.lastname@example.org>
Reviewed-by: Julius Werner <email@example.com>
2 files changed