Repository navigation
initramfs: Read setup-root policy from the mounted image - #136
Draft
cgwalters-bot wants to merge 1 commit into
Draft
cgwalters-bot wants to merge 1 commit into
cgwalters-bot wants to merge 1 commit into
Conversation
## Executive summary Read setup-root configuration from the selected composefs image, sharing the reader with offline mounts, so soft reboot honors the staged image's policy instead of defaults. Remove the dracut bake-in and document the new behavior; provide shared assembly argument construction for later install-time use. Part of cgwalters-forge#134 Verification: cargo fmt --check, cargo clippy (existing warnings), initramfs unit tests (13 passed, 2 ignored), bootc-lib unit tests (334 passed, 1 ignored), shell syntax and diff checks passed. No VM boot was reproduced. The two new mount-assembly tests require a private mount namespace; this sandbox denied user-namespace creation. TMT was not run because tmt and bcvk are unavailable. Review: two passes; the symlink-confinement blocker was fixed, with no blockers left in the final delta review. Follow-up: automate the namespace assembly tests and add behavioral override-precedence/error coverage and staged-versus-running image integration coverage. Open choice: the test-only config override now treats an explicitly missing file as an error. The handback contract publishes one patch/commit, so the requested three-commit organization was not retained. Human review remains required; keep this draft. Assisted-by: https://github.com/cgwalters/cgwalters#llms
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.
Executive summary
Read setup-root configuration from the selected composefs image, sharing the reader with offline mounts, so soft reboot honors the staged image's policy instead of defaults. Remove the dracut bake-in and document the new behavior; provide shared assembly argument construction for later install-time use.
Part of #134
Verification: cargo fmt --check, cargo clippy (existing warnings), initramfs unit tests (13 passed, 2 ignored), bootc-lib unit tests (334 passed, 1 ignored), shell syntax and diff checks passed.
No VM boot was reproduced. The two new mount-assembly tests require a private mount namespace; this sandbox denied user-namespace creation. TMT was not run because tmt and bcvk are unavailable.
Review: two passes; the symlink-confinement blocker was fixed, with no blockers left in the final delta review. Follow-up: automate the namespace assembly tests and add behavioral override-precedence/error coverage and staged-versus-running image integration coverage.
Open choice: the test-only config override now treats an explicitly missing file as an error. The handback contract publishes one patch/commit, so the requested three-commit organization was not retained. Human review remains required; keep this draft.
Closes #134