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:
2026-04-12 19:05:00 +01:00
commit 50b731f1b7
3392 changed files with 98327 additions and 0 deletions
@@ -0,0 +1,43 @@
#TODO dependency conflict. Glew wants GLX but mesa uses orbital backend.
# build instructions: https://github.com/yvt/openspades#on-unixes-from-source
[source]
git = "https://github.com/siecvi/zerospades"
shallow_clone = true
patches = [
"redox.patch"
]
[build]
template = "custom"
dependencies = [
"glew",
"openssl3",
"sdl2",
"sdl2-image",
"freealut",
"freetype2",
"libopus",
"opusfile",
"libjpeg",
"openal",
"curl",
# "libxinerama",
# "libxft",
]
dev-dependencies = [
"libstdcxx",
]
script = """
DYNAMIC_INIT
export LDFLAGS+=" $("${PKG_CONFIG}" --libs osmesa)"
COOKBOOK_CMAKE_FLAGS+=(
-DOPENSPADES_NONFREE_RESOURCES=OFF
-DUSE_INTERNAL_OPENAL=OFF
)
cookbook_cmake
"""
[package]
dependencies = [
"openspades-free-pak"
]