Skip to content

Conversation

@praiskup
Copy link
Member

No description provided.

@praiskup
Copy link
Member Author

/packit test

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request disables networking for the bootstrap phase of hermetic builds by updating the hermetic-build.cfg file. The changes set rpmbuild_networking and use_host_resolv to False for the bootstrap configuration, which is the correct approach to enforce network isolation. The change is clear, correct, and improves the hermeticity of the build process. I have no further feedback.

mount_point = BindMountPoint(srcpath=key_dir, bindpath=chroot_dir)
bootstrap_buildroot.mounts.add(mount_point)

util.setup_host_resolv(bootstrap_buildroot_config)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. But plugins and bindmountpoint will not have a functional resolv.conf.

praiskup added a commit to praiskup/rpmbuild-pipeline-environment-container that referenced this pull request Jan 29, 2026
praiskup added a commit to praiskup/rpmbuild-pipeline-environment-container that referenced this pull request Jan 29, 2026
praiskup added a commit to konflux-ci/rpmbuild-pipeline-environment-container that referenced this pull request Jan 29, 2026
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