feat: add USB mass storage and DRM/KMS service files to initfs

Phase B1+B2 from BOOT-PROCESS-AUDIT:
- 45_usbscsid.service: USB mass storage driver in initfs (requires xhcid)
- 30_redox-drm.service: DRM/KMS display driver in initfs (requires hwd+pcid-spawner)
Both condition-architecture-gated to x86/x86_64.
This commit is contained in:
2026-05-03 09:07:57 +01:00
parent 62b1fa408f
commit 09f0f59d06
3 changed files with 24 additions and 0 deletions
@@ -0,0 +1,22 @@
--- /dev/null
+++ b/init.initfs.d/45_usbscsid.service
@@ -0,0 +1,8 @@
+[unit]
+description = "USB Mass Storage Driver"
+requires_weak = ["40_drivers.target"]
+condition_architecture = ["x86", "x86_64"]
+
+[service]
+cmd = "usbscsid"
+type = "notify"
--- /dev/null
+++ b/init.initfs.d/30_redox-drm.service
@@ -0,0 +1,8 @@
+[unit]
+description = "DRM/KMS Display Driver"
+requires_weak = ["20_graphics.target", "40_hwd.service", "40_pcid-spawner-initfs.service"]
+condition_architecture = ["x86", "x86_64"]
+
+[service]
+cmd = "redox-drm"
+type = "notify"