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:
@@ -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"] }
|
||||
|
||||
+1
-1
Submodule local/sources/bootloader updated: e7bc6a56dc...6c3c312819
+1
-1
Submodule local/sources/installer updated: e604868baf...d90f84883e
+1
-1
Submodule local/sources/kernel updated: 71f189ba04...1b22d324ab
+1
-1
Submodule local/sources/libredox updated: 4a578129b2...d6fa513ca7
+1
-1
Submodule local/sources/redoxfs updated: f29cbc3dfe...e6be9134d8
+1
-1
Submodule local/sources/relibc updated: c81fe5fc98...3e4dbfbe7a
+1
-1
Submodule local/sources/userutils updated: e5c076b0ea...e913bacaa3
Reference in New Issue
Block a user