9c97cefc57
Port the brush shell (reubeno/brush) to Redox and adopt the recipe as a
Red Bear local recipe under local/recipes/shells/brush, with the standard
recipes/shells/brush -> ../../local/recipes/shells/brush overlay symlink so
it takes priority over any upstream WIP copy (per local/AGENTS.md "Local
recipe priority vs upstream WIP"). Removes the old recipes/wip/shells/brush.
The dependency tree did not build for Redox: nix 0.31 only partially
cfg-enables Redox and the libc crate's Redox module omits POSIX symbols that
relibc provides. Fixes are reviewable unified diffs under
local/recipes/shells/brush/patches/:
nix-0.31-redox.patch cfg-enable resource/Id/waitid/from_siginfo, rlimit
import + repr(i32), SaFlags width casts, pty.
libc-0.2-redox.patch add idtype_t, P_*/CLD_*, rusage, getrusage/waitid/
forkpty externs, siginfo child accessors.
brush-umask-redox.patch mode_t is signed on Redox; cast, not u32::from.
The recipe runs `cargo fetch` to materialise registry sources before
patching (they are only unpacked during the build), resolves the right
crate version from Cargo.lock (brush pulls both nix 0.26 and 0.31), and
applies each patch idempotently, failing loudly on version drift. The
binary target is named `brush` (not `brush-shell`), so install it
explicitly. Verified: cooks from a pristine cargo cache using only the
patch files. brush is shipped in redbear-mini as a package for in-image
validation; the login shell stays zsh until brush is runtime-proven.
78 lines
2.0 KiB
Plaintext
78 lines
2.0 KiB
Plaintext
/build/
|
|
**/my_*
|
|
|
|
.idea/
|
|
.vs/
|
|
.vscode/
|
|
.devcontainer/
|
|
|
|
/repo
|
|
/web
|
|
/cookbook.toml
|
|
|
|
# Nested recipe debris from prior build-system layouts (4.2GB+ of duplicates)
|
|
recipes/recipes/
|
|
|
|
# Fetched source trees in mainline recipes AND in specific local/ build-cache
|
|
# recipes (those whose source/ is a transient working copy re-fetched by the
|
|
# build system from the recipe's `git` URL). The durable code for these is
|
|
# recipe.toml + local/patches/. — DO NOT add a blanket `local/recipes/**/source`
|
|
# rule here: ~150 Red Bear recipes have durable source code under
|
|
# `local/recipes/<name>/source/` (the fork model).
|
|
recipes/**/source
|
|
recipes/**/source.tmp
|
|
recipes/**/source-new
|
|
recipes/**/source-old
|
|
recipes/**/source.tar
|
|
recipes/**/source.tar.tmp
|
|
recipes/**/source.pre-preservation-test/
|
|
local/recipes/archives/uutils-tar/source
|
|
local/recipes/dev/ninja-build/source
|
|
|
|
# Bump-recipe cache used by local/scripts/bump-graphics-recipes.sh.
|
|
# Cache is fetched from upstream release indexes; reproducible from script run.
|
|
.redbear-recipe-bump/
|
|
local/recipes/kde/sddm/source
|
|
local/recipes/kde/sddm/source-pristine
|
|
|
|
# Build artifacts — target/ dirs are everywhere
|
|
target
|
|
wget-log
|
|
/sysroot/
|
|
|
|
# Vendor source trees (fetched, not our code)
|
|
**/amdgpu-source/
|
|
|
|
# External reference trees (read-only consultation sources). The Linux
|
|
# reference tree (local/reference/linux-7.1) is currently kept locally
|
|
# but is gitignored by size; seL4 reference is an empty placeholder.
|
|
local/reference/linux-*/
|
|
local/reference/seL4/
|
|
|
|
# Per-fork upstream content fingerprint cache. Built by
|
|
# verify-fork-versions.sh on each preflight run; reproducible from
|
|
# a fork upgrade, not source of truth.
|
|
.redbear-fork-verify/
|
|
|
|
# Compiled objects
|
|
*.o
|
|
*.so
|
|
|
|
*.bin
|
|
*.fw
|
|
*.lock
|
|
|
|
# Internal tooling
|
|
.sisyphus/
|
|
TASK_COMPLETION_SUMMARY.md
|
|
__pycache__/
|
|
extra.img: 1073741824 bytes
|
|
extra.img
|
|
Packages/redbear-firmware.pkgar
|
|
packages/
|
|
sources/x86_64-unknown-redox/
|
|
sources/*.tar.gz
|
|
Packages/*.pkgar
|
|
.slim/deepwork/
|
|
local/recipes/shells/brush/source
|