225f7882f9
Red Bear OS Team
197 lines
4.0 KiB
TOML
197 lines
4.0 KiB
TOML
# Red Bear OS Full Configuration
|
|
# Desktop + RBOS branding + ext4 + input + Wayland + Qt6
|
|
# Build: make all CONFIG_NAME=redbear-full
|
|
# Live: make live CONFIG_NAME=redbear-full
|
|
#
|
|
# GPU driver stack (redox-driver-sys, linux-kpi, redox-drm, amdgpu): WIP crates
|
|
# need custom template (library-only, cargo install fails). Re-enable when fixed.
|
|
# KDE Frameworks + KWin: depend on qtdeclarative/qtwayland. Re-enable when ported.
|
|
# libinput/libevdev: WIP meson builds, not yet validated. Re-enable when tested.
|
|
# seatd: now builds; DRM lease/runtime validation is still open before enabling broadly.
|
|
|
|
include = ["desktop.toml", "redbear-legacy-base.toml", "redbear-legacy-desktop.toml", "redbear-device-services.toml", "redbear-netctl.toml"]
|
|
|
|
[general]
|
|
filesystem_size = 2048
|
|
|
|
[users.messagebus]
|
|
uid = 100
|
|
gid = 100
|
|
name = "messagebus"
|
|
home = "/nonexistent"
|
|
shell = "/usr/bin/ion"
|
|
|
|
[packages]
|
|
# Red Bear OS branding (os-release, hostname, motd)
|
|
redbear-release = {}
|
|
|
|
# Native Redox PCI/USB listing tools (lspci, lsusb)
|
|
redbear-hwutils = {}
|
|
|
|
# Redox-native netctl compatibility command
|
|
redbear-netctl = {}
|
|
redbear-netctl-console = {}
|
|
|
|
# Native network reporting and connect-scan tools
|
|
redbear-netstat = {}
|
|
redbear-traceroute = {}
|
|
redbear-mtr = {}
|
|
redbear-nmap = {}
|
|
|
|
# Terminal file manager (Midnight Commander port)
|
|
mc = {}
|
|
|
|
# ext4 filesystem support (our custom port)
|
|
ext4d = {}
|
|
|
|
# Firmware loading + Wi-Fi control plane
|
|
redbear-firmware = {}
|
|
firmware-loader = {}
|
|
redbear-wifictl = {}
|
|
|
|
# Input layer
|
|
evdevd = {}
|
|
udev-shim = {}
|
|
|
|
# Desktop/session plumbing
|
|
dbus = {}
|
|
|
|
# Diagnostic tool
|
|
redbear-info = {}
|
|
|
|
# IOMMU validation surface
|
|
iommu = {}
|
|
|
|
# Process monitor
|
|
htop = {}
|
|
|
|
# Wayland protocol
|
|
libwayland = {}
|
|
|
|
# Keyboard support
|
|
libxkbcommon = {}
|
|
|
|
# Qt6 base (Core+Concurrent+Xml+Gui+Widgets, software rendering)
|
|
qtbase = {}
|
|
|
|
# RBOS meta-package — temporarily disabled (depends on GPU stack via redox-driver-sys)
|
|
# redbear-meta = {}
|
|
|
|
# Firmware directory for AMD/Intel GPU blobs
|
|
[[files]]
|
|
path = "/lib/firmware/amdgpu"
|
|
data = ""
|
|
directory = true
|
|
mode = 0o755
|
|
|
|
# ── Desktop services (not provided by base package) ────────────────
|
|
|
|
# Orbital display server + login + launcher
|
|
# desktop-minimal.toml had "nowait VT=3 orbital orblogin launcher"
|
|
[[files]]
|
|
path = "/usr/lib/init.d/20_orbital.service"
|
|
data = """
|
|
[unit]
|
|
description = "Orbital display server"
|
|
requires_weak = [
|
|
"10_net.target",
|
|
]
|
|
|
|
[service]
|
|
cmd = "orbital"
|
|
args = ["orblogin", "launcher"]
|
|
envs = { VT = "3" }
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
# desktop-minimal.toml: "inputd -A 2", "nowait getty 2", "nowait getty /scheme/debug/no-preserve -J"
|
|
# Neutralize and replace with proper service files
|
|
[[files]]
|
|
path = "/usr/lib/init.d/30_console.service"
|
|
data = """
|
|
[unit]
|
|
description = "Console terminals"
|
|
requires_weak = [
|
|
"20_orbital.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "getty"
|
|
args = ["2"]
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/29_activate_console.service"
|
|
data = """
|
|
[unit]
|
|
description = "Activate Orbital VT"
|
|
requires_weak = [
|
|
"20_orbital.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "inputd"
|
|
args = ["-A", "3"]
|
|
type = "oneshot"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/31_debug_console.service"
|
|
data = """
|
|
[unit]
|
|
description = "Debug console"
|
|
requires_weak = [
|
|
"20_orbital.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "getty"
|
|
args = ["/scheme/debug/no-preserve", "-J"]
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/12_dbus.service"
|
|
data = """
|
|
[unit]
|
|
description = "D-Bus system bus"
|
|
requires_weak = [
|
|
"10_net.target",
|
|
]
|
|
|
|
[service]
|
|
cmd = "ion"
|
|
args = [
|
|
"-c",
|
|
"mkdir -p /var/lib/dbus /run/dbus; rm -f /run/dbus/pid; dbus-uuidgen --ensure; dbus-daemon --system",
|
|
]
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/var/lib/dbus"
|
|
data = ""
|
|
directory = true
|
|
mode = 0o755
|
|
|
|
[[files]]
|
|
path = "/run/dbus"
|
|
data = ""
|
|
directory = true
|
|
mode = 0o755
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/13_iommu.service"
|
|
data = """
|
|
[unit]
|
|
description = "IOMMU DMA remapping daemon"
|
|
requires_weak = [
|
|
"00_pcid-spawner.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "/usr/lib/drivers/iommu"
|
|
type = "oneshot_async"
|
|
"""
|