Repository navigation
Conversation
The kernel build runs as container root, which rootless Podman maps to the calling user, so make-kernel.sh no longer creates a user in the container. A failed kernel build now stops the script instead of creating the stamp. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds the guest kernels in rootless Podman containers.
Makefile: replaced thedockergroup check with a rootless Podman check.make-kernel.shruns as container root, which is the calling user. Removed the UID/GID arguments and the user setup, which also failed whenuserdelhad already removed the group. A failed kernel build now stops the script instead of creating the stamp (|| echo "Build failed"removed).run_as.sh. Fully qualified the base images.Linux/docker/toLinux/container/andrun-docker.shtorun-container.sh(separate commit).Why
The container builds used Docker and required membership in the
dockergroup, which gives root access to the host. Rootless Podman runs containers in a user namespace owned by the calling user, so it needs no group membership and no root daemon. Container root is the calling user, so files written to bind mounts belong to that user without therun_as.shuser switching.Docker support is removed. Environments built with Docker are not migrated: delete their build folders, stamps and images, or start from a fresh environment.
Related PRs
These PRs land together:
Testing
s2e build,s2e image_build, and the demo image (make -f Makefile.container demo, then/demo/run.sh /demo/CADET_00001) work on a rootless Podman host.🤖 Generated with Claude Code