V2: torizon_base_image_type: Add bootloader deploy to OTA_FILES_DEPENDS.#422
Open
drewmoseley wants to merge 1 commit intotorizon:scarthgap-7.x.yfrom
Open
V2: torizon_base_image_type: Add bootloader deploy to OTA_FILES_DEPENDS.#422drewmoseley wants to merge 1 commit intotorizon:scarthgap-7.x.yfrom
drewmoseley wants to merge 1 commit intotorizon:scarthgap-7.x.yfrom
Conversation
5d3f115 to
57033a2
Compare
This fixes a build race where the u-boot-env.json file is not populated. To manually
trigger this, the following sequence of commands can be used:
$ bitbake virtual/kernel -c cleansstate
$ rm -rf deploy/ tmp/
$ bitbake torizon-docker -c rootfs
ERROR: torizon-docker-1.0-r0 do_rootfs: Could not find bootloader version file '.../deploy/images/verdin-imx8mm/u-boot-version.json'
ERROR: torizon-docker-1.0-r0 do_rootfs: ExecutionError('.../tmp/work/verdin_imx8mm-tdx-linux/torizon-docker/1.0/temp/run.gen_bootloader_ota_files.495585', 1, None, None)
ERROR: Logfile of failure stored in: .../tmp/work/verdin_imx8mm-tdx-linux/torizon-docker/1.0/temp/log.do_rootfs.495585
ERROR: Task (.../layers/meta-toradex-torizon/recipes-images/images/torizon-docker.bb:do_rootfs) failed with exit code '1'
v2: Make this conditional on architecture; X86+GRUB does not need this.
Signed-off-by: Drew Moseley <drew.moseley@toradex.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes a build race where the u-boot-env.json file is not populated. To manually trigger this, the following sequence of commands can be used:
$ bitbake virtual/kernel -c cleansstate
$ rm -rf deploy/ tmp/
$ bitbake torizon-docker -c rootfs
ERROR: torizon-docker-1.0-r0 do_rootfs: Could not find bootloader version file '.../deploy/images/verdin-imx8mm/u-boot-version.json'
ERROR: torizon-docker-1.0-r0 do_rootfs: ExecutionError('.../tmp/work/verdin_imx8mm-tdx-linux/torizon-docker/1.0/temp/run.gen_bootloader_ota_files.495585', 1, None, None)
ERROR: Logfile of failure stored in: .../tmp/work/verdin_imx8mm-tdx-linux/torizon-docker/1.0/temp/log.do_rootfs.495585
ERROR: Task (.../layers/meta-toradex-torizon/recipes-images/images/torizon-docker.bb:do_rootfs) failed with exit code '1'
v2: Make this conditional on architecture; X86+GRUB does not need this.