Skip to content

Conversation

@tprrt
Copy link

@tprrt tprrt commented Apr 23, 2025

Force the image type for the bootfs and the userfs images, otherwise, the following errors will occur when a 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:                                                                                                                                                                                                                                                                  
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

tprrt added 2 commits April 23, 2025 11:56
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 <[email protected]>
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 <[email protected]>
@BernardPuel
Copy link
Contributor

Thanks for your contribution, the correction will be integrated into v6.2.0 with a redesign of Partition management.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants