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

fix: Run ostree container commit at the end of each module run #103

Merged

Conversation

gmpinder
Copy link
Member

Since the command ostree container commit checks for the presence of mounted directories, we will be running it at the end of each module run. We have also updated the final commit to remove from /tmp/ and /var/ again in case a user creates extra files through custom instructions.

Closes #101 #95

Since the command `ostree container commit` checks for the presence of mounted directories, we will be running it at the end of each module run.
We have also updated the final commit to remove from /tmp/ and /var/ again in case a user creates extra files through custom instructions.
@gmpinder gmpinder self-assigned this Feb 27, 2024
@gmpinder gmpinder linked an issue Feb 27, 2024 that may be closed by this pull request
@gmpinder
Copy link
Member Author

@qoijjj I ran this against your failing build locally before and after the change. It appears to fix it.

@gmpinder gmpinder merged commit c920525 into main Feb 28, 2024
1 check passed
@gmpinder gmpinder deleted the 95-v11x-breaks-some-images-with-an-error-about-content-in-var branch February 28, 2024 04:09
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.

fix: proper usage of ostree container commit v1.1.x breaks some images with an error about content in var
2 participants