59d4ba5dcf
CUB (Red Bear OS Package Builder) is a Rust CLI tool that combines package management and building:
- RBPKGBUILD parser (TOML format) with full spec support
- Cookbook adapter converting RBPKGBUILD to recipe.toml
- PKGBUILD (Arch AUR) to RBPKGBUILD conversion with Linuxism detection
- Dependency mapping (Arch to Redox names)
- pkgar package creation integration
- Build environment setup with Cookbook env vars
- CLI with pacman-style shortcuts: -S, -Ss, -B, -G, -Pi, -Sua, -Sc, --import-aur
28 cub-lib tests passing. cub-cli compiles with local pkgutils.
Added cub = {} to redbear-desktop, redbear-full, redbear-minimal configs.
Created recipe symlink and updated integrate-redbear.sh.
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
42 lines
1.0 KiB
TOML
42 lines
1.0 KiB
TOML
# Red Bear OS Full Configuration
|
|
# Complete desktop + RBOS branding + ext4 + input drivers
|
|
# Note: GPU drivers (redox-driver-sys, linux-kpi, redox-drm, amdgpu)
|
|
# are not included because they need custom build templates.
|
|
# Build them separately with: ./local/scripts/build-amd.sh
|
|
#
|
|
# Build: make all CONFIG_NAME=redbear-full
|
|
# Live: make live CONFIG_NAME=redbear-full
|
|
|
|
include = ["desktop.toml"]
|
|
|
|
[general]
|
|
# 2GB filesystem — plenty for full desktop + headroom
|
|
filesystem_size = 2048
|
|
|
|
[packages]
|
|
# Red Bear OS branding (os-release, hostname, motd)
|
|
redbear-release = {}
|
|
|
|
# Terminal file manager (Midnight Commander port)
|
|
mc = {}
|
|
|
|
# ext4 filesystem support (our custom port)
|
|
ext4d = {}
|
|
|
|
# Firmware loading
|
|
firmware-loader = {}
|
|
|
|
# Input layer
|
|
evdevd = {}
|
|
udev-shim = {}
|
|
|
|
# Package builder (cub -S/-B/-G CLI)
|
|
cub = {}
|
|
|
|
# RBOS meta-package (dependencies, default config)
|
|
redbear-meta = {}
|
|
|
|
# Workaround: bash fails to cross-compile (upstream mkbuiltins.c issue)
|
|
# ion (from minimal) is the default shell anyway
|
|
bash = "ignore"
|