Skip to content

Conversation

@cgwalters
Copy link
Collaborator

  • We require bwrap in the target container currently, make that clear. That needs to be done in the entrypoint shell script.
  • Once we're past that we're in Rust, so add infrastructure to verify that we have systemctl also; this list will be extended in the future

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 introduces checks for required binaries, which is a great improvement for robustness. The check for bwrap in the entrypoint script and systemctl in the Rust code will help users by failing early if dependencies are missing. The implementation is clear and correct. I have one suggestion to make the Rust code for checking binaries more idiomatic by using an iterator-based approach. Overall, a solid contribution.

@cgwalters cgwalters enabled auto-merge (rebase) November 11, 2025 19:02
- We require bwrap in the target container currently, make
  that clear. That needs to be done in the entrypoint
  shell script.
- Once we're past that we're in Rust, so add infrastructure
  to verify that we have systemctl and objcopy for
  the UKI extraction.

Signed-off-by: Colin Walters <walters@verbum.org>
@cgwalters cgwalters merged commit cec4402 into bootc-dev:main Nov 14, 2025
15 of 19 checks passed
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