Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bundle.bbclass: do not generate SSTATE artifacts #324

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

ejoerns
Copy link
Member

@ejoerns ejoerns commented Jun 7, 2024

The artifacts created are quite large and keeping multiple of them will consume a notable amount of disk space while the expected speed-up is minimal.
(For the same reasons, the image class does not generate SSTATE artifacts).

Having SSTATE artifacts for bundles enabled can also lead to unexpected/unwanted behavior if a rootfs image recipe was rebuild and the binary output (file system image) changed but did not make it into the final bundle.
This becomes a major problem, e.g. in the context of verified boot.

The artifacts created are quite large and keeping multiple of them
will consume a notable amount of disk space while the expected speed-up
is minimal.
(For the same reasons, the image class does not generate SSTATE
artifacts).

Having SSTATE artifacts for bundles enabled can also lead to
unexpected/unwanted behavior if a rootfs image recipe was rebuild
and the binary output (file system image) changed but did not make it
into the final bundle.
This becomes a major problem, e.g. in the context of verified boot.

Signed-off-by: Enrico Jörns <[email protected]>
@ejoerns ejoerns added the fix label Jun 7, 2024
@ejoerns ejoerns merged commit b5be595 into rauc:master Jun 12, 2024
2 checks passed
@ejoerns ejoerns deleted the disable-sstate branch June 12, 2024 06:24
@ejoerns
Copy link
Member Author

ejoerns commented Jul 3, 2024

backported to scarthgap

@ejoerns
Copy link
Member Author

ejoerns commented Aug 14, 2024

backported to kirkstone

@ejoerns ejoerns added kirkstone kirkstone release-related and removed backport candidate labels Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants