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 <firstname.lastname@example.org>
Commit-Queue: Gabe Black <email@example.com>
Tested-by: Gabe Black <firstname.lastname@example.org>
1 file changed