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

Run sudo with -E when building images in CI #367

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

achilleas-k
Copy link
Member

When building in CI, we need to preserve the environment so that the command 'sudo ./bin/build' inherits the rng seed. Without it, we always end up building images with a random seed which means that our cache is updated with metadata that will never match a subsequent manifest check.

When building in CI, we need to preserve the environment so that the
command 'sudo ./bin/build' inherits the rng seed.  Without it, we always
end up building images with a random seed which means that our cache is
updated with metadata that will never match a subsequent manifest check.
@supakeen supakeen added this pull request to the merge queue Jan 15, 2024
Merged via the queue into osbuild:main with commit 9952819 Jan 15, 2024
10 checks passed
@achilleas-k achilleas-k deleted the test/sudo-build-env branch January 15, 2024 15:51
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