Fix wic circular dependencies#97
Open
tprrt wants to merge 2 commits intoSTMicroelectronics:scarthgapfrom
Open
Conversation
Set the IMAGE_FSTYPES to ext4 for the bootfs image; otherwise, the following error will occur when the WIC image is built: ERROR: build/../layers/meta-st-stm32mp/recipes-st/images/st-image-bootfs.bb: [PARTITIONS_IMAGES] Circular dependency issue found for partition image build! [PARTITIONS_IMAGES] Please make sure to add all related wic image type(s) to [PARTITIONS_IMAGES] WKS_IMAGE_FSTYPE var to properly remove them for partition [PARTITIONS_IMAGES] image build. [PARTITIONS_IMAGES] IMAGE_FSTYPES : wic.xz wic.bmap ext4 [PARTITIONS_IMAGES] WKS_IMAGE_FSTYPES: Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Set the IMAGE_FSTYPES to ext4 for the usertfs image; otherwise, the following error will occur when the WIC image is built: ERROR: build/../layers/meta-st-stm32mp/recipes-st/images/st-image-userfs.bb: [PARTITIONS_IMAGES] Circular dependency issue found for partition image build! [PARTITIONS_IMAGES] Please make sure to add all related wic image type(s) to [PARTITIONS_IMAGES] WKS_IMAGE_FSTYPE var to properly remove them for partition [PARTITIONS_IMAGES] image build. [PARTITIONS_IMAGES] IMAGE_FSTYPES : wic.xz wic.bmap ext4 [PARTITIONS_IMAGES] WKS_IMAGE_FSTYPES: ERROR: Parsing halted due to errors, see error messages above Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Contributor
|
Thanks for your contribution, the correction will be integrated into v6.2.0 with a redesign of Partition management. |
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.
Force the image type for the bootfs and the userfs images, otherwise, the following errors will occur when a WIC image is built: