Repository navigation
Mount binfmt before registration to shorten boot by about a second - #15175
Merged
Merged
Conversation
dhh
marked this pull request as ready for review
October 12, 2026 14:42
Contributor
|
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.
systemd-binfmt.serviceorders itself after the binfmt mount but does not pull it into the boot transaction. On the tested Omarchy image, registration waits for the automount for almost a second. Pull the mount in explicitly so registration starts after it is ready. Preserve the automount's path and read/write conditions on the mount itself, including restricted container environments.Five alternating control/candidate boots with
omarchy-iso/test/vm-image/vm-boot, using the verified 2026.10.12.442 edge image:Every boot reached
runningwith no failed units and all 31 QEMU handlers registered. An ARM64 Alpine Docker container still ran successfully and reportedaarch64. The same near-one-second binfmt delay is present in this development machine's boot journal; no host boot configuration was changed.Claude reviewed the inherited units and the final drop-ins, with no remaining actionable findings. The drop-ins ship through the settings package's existing
etc/copy path, so they apply on the next boot for new and updated installations.Built a fresh ISO using
omarchy-iso-make --local-sourceand ran the ISO repository’s unattended installation plus boot integration test: passed, with no failed units. A further boot confirmed both final drop-ins were installed, all 31 QEMU formats were registered, and binfmt registration took 6.4 ms. The fresh-ISO boot includes UEFI and Limine; the alternating benchmark above uses the tool’s direct-kernel boot. Keep this PR unmerged.