Repository navigation
install: Skip mirroring /run/udev when the host has none - #116
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 Hosts without udev must not fail installation just because the host lacks `/run/udev`. Make only that mirror optional: debug-log and skip an absent host path without local creation; otherwise create a missing local mount point and retain filesystem comparison and bind behavior. Other mirrors remain mandatory and real errors propagate. This is the replacement draft for bootc-dev#57, refreshing bootc-dev#112's examined head `92b39cd6454aea9eec77578094d10874e2ac055f` onto supplied base `0ca885fef4ea0cd658ab495ab39f3a70c14528fb`; it explicitly supersedes bootc-dev#112 and predecessors bootc-dev#101, bootc-dev#97 and bootc-dev#72. Retain the shared implementation and unprivileged table-driven coverage. Keep the byte-length-equivalent lint prerequisites in separate files; this handback publishes one commit, so they cannot be isolated as a prep commit here. Replace only the stderr test's invalid-UTF-8 `echo -e` producer with portable octal `printf`, leaving production capture and assertions unchanged. Verification: on Ubuntu 26.04 with rustc/cargo 1.93.1, rustfmt 1.8.0, clippy 0.1.93 and libostree/ostree CLI 2025.7, `cargo fmt --check`, `cargo clippy --all-targets` and `cargo test` each exited 0 (543 passed, 4 existing ignored); exact producer bytes, newline, stderr and exit status were also verified under dash 0.5.12 and bash 5.3.9. Clippy retains warnings; lint configuration is unchanged. Full mdev-host installation and privileged bind mounts remain untested. Review: one pass, no blockers or nits left open. Part of cgwalters-forge/tracker#313; references bootc-dev#2239. Generated-by: https://github.com/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
Hosts without udev must not fail installation just because the host lacks
/run/udev. Make only that mirror optional: debug-log and skip an absent host path without local creation; otherwise create a missing local mount point and retain filesystem comparison and bind behavior. Other mirrors remain mandatory and real errors propagate.This is the replacement draft for #57, refreshing #112's examined head
92b39cd6454aea9eec77578094d10874e2ac055fonto supplied base0ca885fef4ea0cd658ab495ab39f3a70c14528fb; it explicitly supersedes #112 and predecessors #101, #97 and #72. Retain the shared implementation and unprivileged table-driven coverage. Keep the byte-length-equivalent lint prerequisites in separate files; this handback publishes one commit, so they cannot be isolated as a prep commit here. Replace only the stderr test's invalid-UTF-8echo -eproducer with portable octalprintf, leaving production capture and assertions unchanged.Verification: on Ubuntu 26.04 with rustc/cargo 1.93.1, rustfmt 1.8.0, clippy 0.1.93 and libostree/ostree CLI 2025.7,
cargo fmt --check,cargo clippy --all-targetsandcargo testeach exited 0 (543 passed, 4 existing ignored); exact producer bytes, newline, stderr and exit status were also verified under dash 0.5.12 and bash 5.3.9. Clippy retains warnings; lint configuration is unchanged.Full mdev-host installation and privileged bind mounts remain untested. Review: one pass, no blockers or nits left open.
Part of cgwalters-forge/tracker#313; references bootc-dev#2239.
Closes #57