Red Bear OS — microkernel OS in Rust, based on Redox
Derivative of Redox OS (https://www.redox-os.org) adding: - AMD GPU driver (amdgpu) via LinuxKPI compat layer - ext4 filesystem support (ext4d scheme daemon) - ACPI fixes for AMD bare metal (x2APIC, DMAR, IVRS, MCFG) - Custom branding (hostname, os-release, boot identity) Build system is full upstream Redox with RBOS overlay in local/. Patches for kernel, base, and relibc are symlinked from local/patches/ and protected from make clean/distclean. Custom recipes live in local/recipes/ with symlinks into the recipes/ search path. Build: make all CONFIG_NAME=redbear-full Sync: ./local/scripts/sync-upstream.sh
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
[source]
|
||||
git = "https://github.com/RustPython/RustPython"
|
||||
# newer rev requires 'bits/libc-header-start.h' for bindgen
|
||||
rev = "2025-10-13-main-51"
|
||||
shallow_clone = true
|
||||
patches = [
|
||||
"redox.patch"
|
||||
]
|
||||
|
||||
[build]
|
||||
dependencies = [
|
||||
"openssl3",
|
||||
"zlib",
|
||||
]
|
||||
template = "custom"
|
||||
script = """
|
||||
DYNAMIC_INIT
|
||||
|
||||
export BUILDTIME_RUSTPYTHONPATH=/lib/rustpython
|
||||
export OPENSSL_DIR="${COOKBOOK_SYSROOT}"
|
||||
export ZLIB_STATIC=1
|
||||
cookbook_cargo --features ssl
|
||||
mkdir -p "${COOKBOOK_STAGE}/lib"
|
||||
rsync -aE \
|
||||
--exclude 'test/' \
|
||||
--exclude '__pycache__/' \
|
||||
--exclude '*.pyc' \
|
||||
--exclude '/README.md' \
|
||||
"${COOKBOOK_SOURCE}"/Lib/ "${COOKBOOK_STAGE}/lib/rustpython"
|
||||
"""
|
||||
Reference in New Issue
Block a user