Files
RedBear-OS/config/redbear-device-services.toml
T
vasilito d7444606cb Add respawn and getty service config across all build targets
Getty services now use respawn = true so init restarts them on
exit. redbear-live-mini expanded with additional boot-late services
and reorganized service ordering. Device services TOML gains new
entries for hardened daemon lifecycle.
2026-04-23 20:28:52 +01:00

129 lines
2.2 KiB
TOML

# Red Bear OS shared device-service wiring
#
# Shared by profiles that ship the firmware/input/Wi-Fi control compatibility stack.
[packages]
redbear-quirks = {}
pciids = {}
fatd = {}
[[files]]
path = "/usr/lib/init.d/12_boot-late.target"
data = """
[unit]
description = "Late boot services target"
requires_weak = [
"00_base.target",
]
"""
[[files]]
path = "/lib/firmware"
data = ""
directory = true
mode = 0o755
[[files]]
path = "/usr/bin/usbctl"
data = "/usr/lib/drivers/usbctl"
symlink = true
[[files]]
path = "/lib/pcid.d/intel_gpu.toml"
data = """
# PCID configuration for Intel GPU auto-detection
[[drivers]]
name = "Intel GPU (VGA compatible)"
class = 0x03
vendor = 0x8086
subclass = 0x00
command = ["redox-drm"]
[[drivers]]
name = "Intel GPU (3D controller)"
class = 0x03
vendor = 0x8086
subclass = 0x02
command = ["redox-drm"]
"""
[[files]]
path = "/lib/pcid.d/amd_gpu.toml"
data = """
# PCID configuration for AMD GPU auto-detection
[[drivers]]
name = "AMD GPU (VGA compatible)"
class = 0x03
vendor = 0x1002
subclass = 0x00
command = ["redox-drm"]
[[drivers]]
name = "AMD GPU (3D controller)"
class = 0x03
vendor = 0x1002
subclass = 0x02
command = ["redox-drm"]
"""
[[files]]
path = "/usr/lib/init.d/05_firmware-loader.service"
data = """
[unit]
description = "Firmware loading scheme"
requires_weak = [
"12_boot-late.target",
"00_pcid-spawner.service",
]
[service]
cmd = "firmware-loader"
type = { scheme = "firmware" }
"""
[[files]]
path = "/usr/lib/init.d/11_udev.service"
data = """
[unit]
description = "udev compatibility shim"
requires_weak = [
"12_boot-late.target",
"00_pcid-spawner.service",
]
[service]
cmd = "udev-shim"
type = { scheme = "udev" }
"""
[[files]]
path = "/usr/lib/init.d/11_wifictl.service"
data = """
[unit]
description = "Wi-Fi control daemon"
requires_weak = [
"12_boot-late.target",
"00_pcid-spawner.service",
"05_firmware-loader.service",
]
[service]
cmd = "redbear-wifictl"
type = { scheme = "wifictl" }
"""
[[files]]
path = "/usr/lib/init.d/10_evdevd.service"
data = """
[unit]
description = "Evdev input daemon"
requires_weak = [
"12_boot-late.target",
"00_pcid-spawner.service",
]
[service]
cmd = "evdevd"
type = "oneshot_async"
"""