c72d4247a6
- 00_driver-manager.service: resident daemon args (--hotplug); runs unless /etc/driver-manager.d/disabled exists. - 40_driver-manager-initfs.service: gate flipped from opt-in (initfs-active) to default-on (!/etc/driver-manager.d/disabled). - 00_pcid-spawner.service + 40_pcid-spawner-initfs.service: gated to start only when /etc/driver-manager.d/disabled exists — the legacy spawner remains staged as the operator fallback, never deleted.
28 lines
1.3 KiB
Desktop File
28 lines
1.3 KiB
Desktop File
# Place this file at:
|
|
# local/sources/base/init.d/00_driver-manager.service
|
|
# (created during D5/C0 phase; remains dormant until operator ratifies cutover)
|
|
|
|
[unit]
|
|
description = "Driver manager (post-switchroot /usr spawner)"
|
|
# Long-form description:
|
|
# Driver manager enumerates /scheme/pci, reads /lib/drivers.d/*.toml,
|
|
# matches devices against driver match tables, and spawns driver daemons
|
|
# (e1000d, xhcid, ihdgd, etc.) per the manager's SpawnDecision committee
|
|
# (see § 5.1 D1 migration plan). Activates only when
|
|
# ConditionPathExists for /etc/driver-manager.d/disabled fails AND all
|
|
# depends_on schemes (pci, firmware, iommu, numad, etc.) are ready.
|
|
#
|
|
# Until the D5 feature-complete gate ratifies, this service is dormant —
|
|
# pcid-spawner retains the boot path. The dormant flag is enabled by
|
|
# default; C0 wiring must explicitly remove it before activation.
|
|
|
|
[service]
|
|
cmd = "driver-manager"
|
|
# Resident daemon: initial enumeration, then the hotplug loop forever.
|
|
args = ["--hotplug"]
|
|
# oneshot_async so init does not block on the manager's readiness.
|
|
type = "oneshot_async"
|
|
# Operator must explicitly enable this service:
|
|
# touch /etc/driver-manager.d/disabled # force fallback to pcid-spawner
|
|
ConditionPathExists = "!/etc/driver-manager.d/disabled"
|