submodules: update Cat 2 fork pointers to local path deps and +rb0.2.5

- relibc: variadic sem_open and local fork path deps
- base: already at latest RedBear-OS submodule/base
- bootloader/kernel/libredox/userutils: pushed local path-dep fixes
- installer/redoxfs: diverged from remote submodule/*; local commits saved,
  divergence to be resolved after build
- driver-manager: add syscall path dependency
- AGENTS.md: document +rb build metadata and no-patches-for-local-forks rule
- remove dead patch symlinks from recipes/core/relibc (path-source local fork)
This commit is contained in:
2026-07-05 23:58:20 +03:00
parent c00dc8a0e3
commit ec101f9d4b
9 changed files with 23 additions and 7 deletions
+15
View File
@@ -517,6 +517,21 @@ If we can fetch fresh upstream sources tomorrow, provision sources from `sources
If a change exists only inside an upstream-owned `recipes/*/source/` tree, then it is **not yet
preserved**, even if the current build happens to pass.
### Local fork recipe directories must not carry patch files
When a recipe's `[source]` uses `path = ".../local/sources/<component>/"`, the local fork
**is** the patch. The recipe directory (`recipes/core/<component>/`) **MUST NOT** contain
`.patch` files or symlinks. Patch files from the pre-fork era must be applied as commits to
the `submodule/<component>` branch (or, if kept for historical reference, archived under
`local/docs/archived/` or `local/patches/archived/` and never symlinked into a recipe
directory). Leaving patch files in a `path`-source recipe directory creates the false
impression that the build system applies them, which leads to exactly the kind of duplicate
fix work we just saw with `sem_open`.
The cookbook **does not apply patches for `path` sources**. If a component needs patches,
it must use a `git` source pointing at a `submodule/<component>` branch, or the patches
must be merged into the local fork branch.
### GOLDEN RULE — Red Bear adapts to upstream, never the reverse
**When upstream Redox changes a dependency version, API, or ABI, Red Bear adapts.**
@@ -13,6 +13,7 @@ redox-driver-core = { path = "../../../drivers/redox-driver-core/source" }
redox-driver-pci = { path = "../../../drivers/redox-driver-pci/source" }
pcid_interface = { path = "../../../../../local/sources/base/drivers/pcid", package = "pcid" }
redox-scheme = { path = "../../../../../local/sources/redox-scheme" }
syscall = { package = "redox_syscall", path = "../../../../../local/sources/syscall", features = ["std"] }
log = "0.4"
toml = "0.8"
serde = { version = "1", features = ["derive"] }