Skip to content

patches: A:/t windows root + TEBAKO_MOUNT_ROOT run-time override - #51

Merged
ronaldtse merged 1 commit into
mainfrom
feat/mount-root-override
Aug 8, 2026
Merged

patches: A:/t windows root + TEBAKO_MOUNT_ROOT run-time override#51
ronaldtse merged 1 commit into
mainfrom
feat/mount-root-override

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Owner-final windows root A:/t (reverts the #49 uniformity pass) plus the run-time mount-root override: rbconfig emits ENV["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.

… 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.
@ronaldtse
ronaldtse merged commit 2f2c403 into main Aug 8, 2026
40 checks passed
@ronaldtse
ronaldtse deleted the feat/mount-root-override branch August 8, 2026 10:39
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