patches: A:/t windows root + TEBAKO_MOUNT_ROOT run-time override - #51
Merged
Conversation
… 5 series) Owner-final: the windows memfs root is A:/t (MAX_PATH headroom on every in-image path), reverting the A:/__tfs__ uniformity pass (#49). And the root is no longer only baked: rbconfig now emits CONFIG["prefix"] = ENV["TEBAKO_MOUNT_ROOT"] || '<baked>' (posix + msys variants, prefix + RUBY_EXEC_PREFIX), so a boot-time TEBAKO_MOUNT_ROOT redirects the interpreter's load paths to match the driver's mount (spec 17 §1; the driver gates the override on the env image's mount_root_override grant — layout schema_minor 1). The tebako-mount-root manifest derivation is untouched: the patch block still carries exactly one quoted root literal, proven by applying both variants (3.3.12 tree) — msys derives A:/t, posix /__tfs__. tools/lint green on 3.1.7/3.2.11/3.3.12/3.4.10/4.0.6 (29-30 patches each); both patched mkconfig.rb variants are ruby -c clean.
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.
Owner-final windows root
A:/t(reverts the #49 uniformity pass) plus the run-time mount-root override: rbconfig emitsENV["TEBAKO_MOUNT_ROOT"] || '<baked>'for prefix/RUBY_EXEC_PREFIX on both variants of all 5 series. Proof: tools/lint green on 3.1.7/3.2.11/3.3.12/3.4.10/4.0.6; both patched mkconfig.rb variants ruby -c clean; the tebako-mount-root derivation still extracts exactly one root (A:/t msys, /tfs posix). Rolls as v0.2.17.