Files
RedBear-OS/init.d/00_pcid-spawner.service
T

17 lines
827 B
Desktop File

[unit]
description = "PCI driver spawner"
[service]
cmd = "pcid-spawner"
# oneshot_async, NOT oneshot: this is the post-switchroot /usr driver-manager.
# As a blocking oneshot, init waits for pcid-spawner to enumerate PCI and bring
# every matched driver to readiness (daemon::Daemon::spawn blocks on each
# driver's ready signal) before continuing — so a single slow/hanging driver,
# or an unavailable /scheme/pci after switchroot, wedges the whole boot right
# here, before the console/login stack. The login path renders on the initfs
# framebuffer (vesad+fbcond) and does not need the /usr PCI drivers to be ready
# first, so bring them up asynchronously. NOTE: the initfs driver spawner
# (40_pcid-spawner-initfs) stays a blocking oneshot — disk (ahcid) must be
# ready before redoxfs mounts.
type = "oneshot_async"