fix(boot): base submodule ptr (bare/mini warning cleanup) + bare serial console
Track base 1769b083 (condition_path_exists for optional daemons, ahcid no-media,
netstack no-NIC idle, dhcpd fast-fail). Re-enable the serial debug console on
the bare target so it has a headless-visible login prompt (matching mini up to
login).
This commit is contained in:
@@ -55,23 +55,14 @@ data = ""
|
||||
path = "/etc/pkg.d/50_redox"
|
||||
data = ""
|
||||
|
||||
# Override minimal.toml's 31_debug_console.service — the bare initfs
|
||||
# does not start ptyd (only 6 daemons), so getty's retry loop on
|
||||
# /scheme/debug/no-preserve hangs the boot for ~45s before the
|
||||
# real console login is reached. Disable the debug console entirely.
|
||||
# postinstall = true ensures this override wins over any package
|
||||
# staging (Layer 2) of the same path.
|
||||
[[files]]
|
||||
path = "/etc/init.d/31_debug_console.service"
|
||||
postinstall = true
|
||||
data = """
|
||||
[unit]
|
||||
description = "Debug console (disabled on redbear-bare)"
|
||||
|
||||
[service]
|
||||
cmd = "true"
|
||||
type = "oneshot"
|
||||
"""
|
||||
# NOTE: the serial debug console (31_debug_console.service, getty on
|
||||
# /scheme/debug/no-preserve) is intentionally LEFT ENABLED (inherited from
|
||||
# minimal.toml) on the bare target. It is the only login prompt visible on a
|
||||
# headless serial console, which is exactly how a "bare" boot-test image is
|
||||
# driven (QEMU -serial stdio, real serial header on bare metal). The earlier
|
||||
# concern about a ~45s getty retry hang applied to the minimal 6-daemon initfs
|
||||
# that did not run ptyd; the bare target now switchroots into the full rootfs
|
||||
# where ptyd is running, so the debug console comes up immediately.
|
||||
|
||||
# Override base.toml's login_schemes — no display/audio schemes in bare
|
||||
[[files]]
|
||||
|
||||
+1
-1
Submodule local/sources/base updated: 324172abaf...1769b083ab
Reference in New Issue
Block a user