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,37 @@
#TODO not compiled or tested
# build instructions: https://github.com/minetest/minetest/blob/master/doc/compiling/linux.md
# customization - https://github.com/minetest/minetest/tree/master/doc/compiling#cmake-options
[source]
git = "https://github.com/minetest/minetest"
branch = "stable-5"
patches = ["redox.patch"]
[build]
template = "custom"
dependencies = [
"curl",
"freetype2",
"libiconv",
"libjpeg",
"libogg",
"libpng",
"libvorbis",
"luajit",
"openal",
#TODO: openssl not detected by cmake
"openssl1",
"sdl2",
"sqlite3",
"zlib",
"zstd",
]
script = """
DYNAMIC_INIT
COOKBOOK_CMAKE_FLAGS+=(
-DOPENGL_opengl_LIBRARY=/dev/null
-DOPENGL_glx_LIBRARY=/dev/null
-DSDL2_INCLUDE_DIRS="${COOKBOOK_SYSROOT}/include/SDL2"
-DSDL2_LIBRARIES="$("${PKG_CONFIG}" --libs sdl2)"
)
cookbook_cmake
"""