Skip to content

Conversation

@cgwalters
Copy link
Collaborator

This may fix a failure Robert was seeing with a submount in /usr. But in general this is just cleaner anyways to avoid a double mount.

This may fix a failure Robert was seeing with a submount in `/usr`.
But in general this is just cleaner anyways to avoid a double mount.

Signed-off-by: Colin Walters <walters@verbum.org>
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 refactors the mounting of the host's /usr directory in the ephemeral environment. By moving the mount operation from the entrypoint.sh script to a direct podman volume mount argument, it avoids a "double mount" scenario. This change simplifies the setup, makes it cleaner, and is correctly implemented across both the Rust code and the shell script. The new approach is more robust, and the updated idempotency check in entrypoint.sh is a good improvement. The changes look good.

@cgwalters cgwalters enabled auto-merge (rebase) November 18, 2025 16:35
@cgwalters cgwalters merged commit c73831e into bootc-dev:main Nov 18, 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