7706617e7f
cub redesign (local/recipes/system/cub/): - AUR RPC v5 client (serde_json) with search/info - ~/.cub/ user-local recipe/source/repo storage - Enhanced PKGBUILD parser: optdepends, .SRCINFO, split packages, 19 linuxism patterns - Recipe generation: host: prefix on dev-deps, shallow_clone, cargopath, installs, optional-packages - Dependency resolver: scans build errors for missing commands/headers/libs/pkgconfig, maps to packages - Dependency installation: checks installed packages, fetches AUR deps, interactive prompt - ~110 Arc→Redox dependency mappings - ratatui TUI: search, info, install, build, query views - 14 Arch-style CLI switches (-S/-Si/-Syu/-G/-R/-Q/-Qi/-Ql) - 65 tests, 0 failures, clean build Phase 1-5 native build tools (local/recipes/dev/): - P1 Substrate: tar, m4, diffutils (gnulib bypass), mkfifo kernel patch (1085 lines) - P2 Build Systems: bison, flex, meson (standalone wrapper), ninja-build, libtool - P3 Native GCC: gcc-native, binutils-native (cross-compiled for redox host) - P4 Native LLVM: llvm-native (clang + lld from monorepo) - P5 Native Rust: rust-native (rustc + cargo) - Groups: build-essential-native, dev-essential expanded Config: - redbear-mini: +7 tools (diffutils, tar, bison, flex, meson, ninja, m4) - redbear-full: +4 native tools (gcc, binutils, llvm, rust) - All recipes moved to local/ with symlinks for cookbook discovery (Red Bear policy) Docs: - BUILD-TOOLS-PORTING-PLAN.md: phased porting roadmap - CUB-WORKFLOW-ASSESSMENT.md: gap analysis and integration assessment
32 lines
1.8 KiB
TOML
32 lines
1.8 KiB
TOML
# Consolidated patch: all Red Bear kernel changes (P0-P10) in a single file.
|
|
# Individual patches preserved in local/patches/kernel/ for reference/rebase.
|
|
# The consolidated patch was generated from applying: redox(no-op), P0-canary,
|
|
# P1-memory-map-overflow, P4-supplementary-groups, P4-s3-suspend-resume,
|
|
# P4-scheme-failure-modes, P5-sched-rt-policy, P5-scheme-sched-id,
|
|
# P5-context-mod-sched, P6-percpu-runqueues, P6-futex-sharding,
|
|
# P8-initial-placement, P9-proc-lock-ordering, P9-numa-topology,
|
|
# P1-boot-path-diagnostics, P10-debug-scheme-serial-fix.
|
|
# Patches that were cumulative supersets (P5-sched-policy-context, P5-proc-setschedpolicy,
|
|
# P5-boot-path-hardening, P6-vruntime-*, P7-cache-affine-*, P7-proc-setname,
|
|
# P7-proc-setpriority, P8-futex-requeue, P8-futex-pi, P8-futex-robust,
|
|
# P8-percpu-wiring, P8-percpu-sched, P8-load-balance, P8-work-stealing,
|
|
# P9-futex-pi-cas-fix) failed to apply at commit 866dfad0 due to
|
|
# context conflicts and are deferred until rebase.
|
|
# P7-scheduler-improvements.patch: removed from recipe patches — 3/4 hunks
|
|
# fail on context.rs at 866dfad0. Rebase needed.
|
|
# P8-msi (applies separately): T1.1 msi.rs (message composition/validation/capability
|
|
# parsing), T1.2 vector.rs (per-CPU bitmatrix allocation), T1.3 IRQ scheme MSI
|
|
# validation gate + iommu hook, T2.2 kernel-side IRQ affinity handler.
|
|
[source]
|
|
git = "https://gitlab.redox-os.org/redox-os/kernel.git"
|
|
rev = "866dfad0"
|
|
patches = ["../../../local/patches/kernel/redbear-consolidated.patch", "../../../local/patches/kernel/P8-msi.patch", "../../../local/patches/kernel/P2-rebrand-start-message.patch", "P0-eventfd-kernel.patch", "../../../local/patches/kernel/P1-mkfifo-fifo-support.patch"]
|
|
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
make -f ${COOKBOOK_SOURCE}/Makefile
|
|
mkdir -pv "${COOKBOOK_STAGE}/usr/lib/boot"
|
|
cp -v kernel "${COOKBOOK_STAGE}/usr/lib/boot"
|
|
"""
|