Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
image-sign-rpi.bbclass: reorder tasks to avoid missing boot files
At this moment do_balena_signed_bootgen_and_deploy and do_image_balenaos_img tasks run in parallel, which is causing problems as do_image_balenaos_img needs to use the output of do_balena_signed_bootgen_and_deploy to generate the contents of the boot partition. Since the call to the signing server takes several seconds, sometimes `boot.sig` or `boot.img` or both are not included in the final image, depending on when do_image_balenaos_img is actually executed. This patch reorders the tasks so that do_image_balenaos_img is only started after do_balena_signed_bootgen_and_deploy. Changelog-entry: Fix race condition between signing and generating boot partition Signed-off-by: Michal Toman <michalt@balena.io>
- Loading branch information