cros_generate_update_payload: Use patched kernel A if kernel B is empty.
When generating a delta payload, the source image may not have a normally
signed kernel in slot B if it's older. If that's the case, use the kernel in
slot A and patch it with the vblock from the stateful partition.
TEST=Tryjob, manual testing.
Reviewed-by: Gabe Black <email@example.com>
Commit-Queue: Gabe Black <firstname.lastname@example.org>
Tested-by: Gabe Black <email@example.com>
1 file changed