aca2f2913d
Build system (src/cook/fetch.rs): - Atomic patch application: applies patches to staging directory (cp -al), atomically swaps on success, discards on failure — source tree is never left in a partially-patched state - normalize_patch(): strips diff --git/index/new-file-mode headers that the build system's patch command does not recognize - cleanup_workspace_pollution(): removes orphaned recipes/Cargo.toml and recipes/Cargo.lock to prevent workspace conflicts - Added --allow-protected CLI flag to repo binary Input stack (local/patches/base/P3-*.patch): - P3-ps2d-led-feedback: PS/2 LED state handling + InputProducer migration - P3-inputd-keymap-bridge: InputProducer enum, keymap bridge query - P3-usbhidd-hardening: HID descriptor validation, static lookup table, 8-button mouse support, transfer retry with exponential backoff - P3-init-colored-output: ANSI-color coded init daemon output (green OK, red FAILED, yellow SKIP/WARN) XKB bridge (local/recipes/system/redbear-keymapd/source/src/xkb.rs): - Parses X11 xkb/symbols/* format, maps XKB keycodes to PS/2 scancodes, 80+ X11 keysym names to Unicode, 4-level key support Patch governance (local/patches/base/absorbed/README.md): - Documents consolidation of P0-P3 patches into redox.patch
Absorbed Patches
These patches have been consolidated into local/patches/base/redox.patch (the
mega-patch applied automatically to the base recipe source tree).
Do not wire these patches into recipes/core/base/recipe.toml. They are kept here
for reference and git history only. If a patch referenced by a recipe.toml symlink
breaks, that symlink should be updated to point to a current, active patch in
local/patches/base/ (NOT one in this directory).
Consolidation timeline
| Date | Action |
|---|---|
| 2026-04-30 | P0 + P2 patches consolidated into redox.patch |
| 2026-04-30 | P1-P2 driver/ACPI patches consolidated |
| 2026-04-30 | P3 ACPI/PCI patches absorbed |
Active patches (NOT in this directory)
The active patches applied on top of redox.patch live in local/patches/base/:
P3-ps2d-led-feedback.patch— PS/2 LED state + InputProducer migrationP3-inputd-keymap-bridge.patch— InputProducer enum + keymap bridgeP3-usbhidd-hardening.patch— USB HID descriptor validation, retry, lookup tableP3-init-colored-output.patch— ANSI-colored init daemon outputP9-fix-so-pecred.patch— shared-object credential fixredox.patch— cumulative mega-patch (applied first, automatically)