Files
RedBear-OS/config/minimal.toml
T
vasilito 688645bf98 feat(serial): headless serial console for mini/bare via fbcond mirror
Track base e9342b78 (fbcond bidirectional serial mirror) + kernel 229046c6
(debug fevent readable). Disable the standalone 31_debug_console getty since
fbcond now owns the serial/debug console (avoids competing for the shared debug
input queue and duplicated output). Gives headless serial login on mini + bare.
2026-07-18 07:23:58 +09:00

63 lines
1.2 KiB
TOML

# Minimal configuration
include = ["base.toml"]
# General settings
[general]
# Filesystem size in MiB
filesystem_size = 196
# Package settings
[packages]
ca-certificates = {}
coreutils = {}
extrautils = {}
zsh = {}
pkgutils = {}
kibi = {}
[[files]]
path = "/etc/init.d/29_activate_console.service"
data = """
[unit]
description = "Activate console VT"
requires_weak = ["00_base.target"]
[service]
cmd = "inputd"
args = ["-A", "2"]
type = "oneshot_async"
"""
[[files]]
path = "/etc/init.d/30_console.service"
data = """
[unit]
description = "Console terminals"
requires_weak = [
"29_activate_console.service",
"00_ptyd.service",
]
[service]
cmd = "getty"
args = ["2"]
type = "oneshot_async"
"""
[[files]]
path = "/etc/init.d/31_debug_console.service"
# The serial/debug console is now driven by fbcond, which mirrors the
# framebuffer console (boot log + getty login prompt) onto the kernel debug
# (serial) line and feeds serial input back into the same VT getty. A separate
# `getty /scheme/debug/no-preserve` would compete with fbcond for the single
# shared debug input queue and duplicate output, so it is disabled.
data = """
[unit]
description = "Debug console (handled by fbcond serial mirror)"
[service]
cmd = "true"
type = "oneshot"
"""