122 lines
2.4 KiB
TOML
122 lines
2.4 KiB
TOML
# Red Bear OS Live Mini Configuration
|
|
# Live ISO variant for console/recovery/install on bare metal.
|
|
#
|
|
# Build: make live CONFIG_NAME=redbear-live-mini
|
|
#
|
|
# Target contract:
|
|
# - keep a text-login live/recovery surface only
|
|
# - avoid the shared firmware/input/device-service stack from redbear-minimal
|
|
# - ship no graphics packages/services and no linux-firmware payload
|
|
|
|
include = ["minimal.toml", "redbear-legacy-base.toml", "redbear-netctl.toml"]
|
|
|
|
[general]
|
|
filesystem_size = 768
|
|
|
|
[packages]
|
|
# Red Bear OS branding and host utilities.
|
|
redbear-release = {}
|
|
redbear-hwutils = {}
|
|
redbear-quirks = {}
|
|
|
|
# Redox-native netctl tooling.
|
|
redbear-netctl = {}
|
|
redbear-netctl-console = {}
|
|
redbear-netstat = {}
|
|
redbear-traceroute = {}
|
|
redbear-mtr = {}
|
|
redbear-nmap = {}
|
|
|
|
# Diagnostics and shell-side utilities.
|
|
mc = {}
|
|
redbear-info = {}
|
|
|
|
# Keep package builder utility in live environment.
|
|
cub = {}
|
|
|
|
[[files]]
|
|
path = "/etc/netctl/active"
|
|
data = "wired-dhcp\n"
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/30_console"
|
|
data = ""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/29_activate_console.service"
|
|
data = """
|
|
[unit]
|
|
description = "Activate console (text-only no-op)"
|
|
requires_weak = [
|
|
"00_base.target",
|
|
]
|
|
|
|
[service]
|
|
cmd = "true"
|
|
type = "oneshot"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/30_console.service"
|
|
data = """
|
|
[unit]
|
|
description = "Console terminals"
|
|
requires_weak = [
|
|
"29_activate_console.service",
|
|
]
|
|
|
|
[service]
|
|
cmd = "getty"
|
|
args = ["/scheme/tty"]
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/31_debug_console.service"
|
|
data = """
|
|
[unit]
|
|
description = "Debug console"
|
|
requires_weak = [
|
|
"00_base.target",
|
|
]
|
|
|
|
[service]
|
|
cmd = "getty"
|
|
args = ["/scheme/debug/no-preserve", "-J"]
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/etc/motd"
|
|
data = """
|
|
########## Red Bear OS ##########
|
|
# Login with the following: #
|
|
# `user` #
|
|
# `root`:`password` #
|
|
##################################
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/etc/pcid.d/ihdgd.toml"
|
|
data = """
|
|
# redbear-live-mini: text-only image, disable Intel HD graphics auto-spawn
|
|
[[drivers]]
|
|
name = "disabled ihdgd sentinel"
|
|
class = 0xFF
|
|
vendor = 0xFFFF
|
|
device = 0xFFFF
|
|
command = ["ihdgd"]
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/etc/pcid.d/virtio-gpud.toml"
|
|
data = """
|
|
# redbear-live-mini: text-only image, disable virtio GPU auto-spawn
|
|
[[drivers]]
|
|
name = "disabled virtio-gpud sentinel"
|
|
class = 0xFF
|
|
vendor = 0xFFFF
|
|
device = 0xFFFF
|
|
command = ["virtio-gpud"]
|
|
"""
|