65acab85bb
Base patch extraction (8 topic-grouped patches from the 17k-line monolith): - P2-ps2d-improvements: PS/2 controller flush/retry, mouse state machine, named producers - P2-storage-error-handling: AHCI/IDE/NVMe/VirtIO unwrap/expect removal - P2-usb-pm-and-drivers: suspend/resume, SCSI enablement, staged port fallback - P2-network-error-handling: e1000/ixgbe/rtl8139/rtl8168d/virtio-net error propagation - P2-pcid-cfg-access: PCI config I/O port and ECAM graceful fallbacks - P2-ihdad-hda-stream: InputStream support, public stream types, Debug derives - P2-init-acpid-wiring: acpid weak dependency on drivers/hwd/pcid-spawner - P2-misc-daemon-fixes: audiod/usbhidd/zerod graceful degradation relibc P3-aio.patch: synchronous POSIX AIO fallback (aio_read, aio_write, aio_error, aio_return, aio_cancel, aio_suspend, aio_fsync, lio_listio) for Qt6 QIODevice compatibility. 36 patches total in relibc recipe. KDE recipes: breeze (widget style, decorations disabled), kde-cli-tools (kioclient, kreadconfig, etc., kdesu disabled).
46 lines
1.7 KiB
Diff
46 lines
1.7 KiB
Diff
# P2-init-acpid-wiring.patch
|
|
#
|
|
# Init service acpid dependency wiring: add 41_acpid.service as a weak
|
|
# dependency to the drivers target, hardware manager, and PCI spawner so
|
|
# acpid starts reliably during boot.
|
|
#
|
|
# Covers:
|
|
# - 40_drivers.target: add 41_acpid.service to requires_weak
|
|
# - 40_hwd.service: add 41_acpid.service to requires_weak
|
|
# - 40_pcid-spawner-initfs.service: add 41_acpid.service to requires_weak
|
|
#
|
|
diff --git a/init.initfs.d/40_drivers.target b/init.initfs.d/40_drivers.target
|
|
index 8ddb4795..029583a1 100644
|
|
--- a/init.initfs.d/40_drivers.target
|
|
+++ b/init.initfs.d/40_drivers.target
|
|
@@ -7,4 +7,5 @@ requires_weak = [
|
|
"40_bcm2835-sdhcid.service",
|
|
"40_hwd.service",
|
|
"40_pcid-spawner-initfs.service",
|
|
+ "41_acpid.service",
|
|
]
|
|
diff --git a/init.initfs.d/40_hwd.service b/init.initfs.d/40_hwd.service
|
|
index cba12dde..cf34a51b 100644
|
|
--- a/init.initfs.d/40_hwd.service
|
|
+++ b/init.initfs.d/40_hwd.service
|
|
@@ -1,6 +1,6 @@
|
|
[unit]
|
|
description = "Hardware manager"
|
|
-requires_weak = ["10_inputd.service", "10_lived.service", "20_graphics.target"]
|
|
+requires_weak = ["10_inputd.service", "10_lived.service", "20_graphics.target", "41_acpid.service"]
|
|
|
|
[service]
|
|
cmd = "hwd"
|
|
diff --git a/init.initfs.d/40_pcid-spawner-initfs.service b/init.initfs.d/40_pcid-spawner-initfs.service
|
|
index 6945b9ea..ba1ee0bb 100644
|
|
--- a/init.initfs.d/40_pcid-spawner-initfs.service
|
|
+++ b/init.initfs.d/40_pcid-spawner-initfs.service
|
|
@@ -1,6 +1,6 @@
|
|
[unit]
|
|
description = "PCI driver spawner"
|
|
-requires_weak = ["10_inputd.service", "20_graphics.target", "40_hwd.service"]
|
|
+requires_weak = ["10_inputd.service", "20_graphics.target", "40_hwd.service", "41_acpid.service"]
|
|
|
|
[service]
|
|
cmd = "pcid-spawner"
|