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

improve caching of mtda isar layer #301

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

fmoessbauer
Copy link
Member

The layerdir variable contains an absolute path that is immediately expanded and points into the build host. This breaks sstate caching for tasks that reference this variable when building from a different path (like in the gitlab-ci). To fix this, we simply set the vardepvalue to a fixed value. As this variable just points to the current layer, there are no logical external changes expected and by that, this "pinning" is fine.

The layerdir variable contains an absolute path that is immediately
expanded and points into the build host. This breaks sstate caching for
tasks that reference this variable when building from a different path
(like in the gitlab-ci). To fix this, we simply set the vardepvalue to a
fixed value. As this variable just points to the current layer, there
are no logical external changes expected and by that, this "pinning" is
fine.

Signed-off-by: Felix Moessbauer <[email protected]>
@chombourger chombourger merged commit 941829c into siemens:master Jul 21, 2023
8 checks passed
@chombourger
Copy link
Collaborator

Thank you @fmoessbauer for this PR. This is now merged.

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