Files
RedBear-OS/local/patches/base/P4-initfs-dbus-services.patch
T
vasilito 526ab376fd fix: restore working D-Bus patch (37 services confirmed in QEMU)
D-Bus daemon, sessiond, and seatd all running on redbear-full.
User lookup warnings are pre-existing Redox D-Bus config issue
(does not affect functionality).
2026-05-03 14:56:06 +01:00

53 lines
1.1 KiB
Diff

--- /dev/null
+++ b/init.d/05_boot_essential.target
@@ -0,0 +1,7 @@
+[unit]
+description = "Boot essential services target"
+requires_weak = ["00_base.target"]
+
+[service]
+cmd = "/usr/bin/true"
+type = "oneshot"
--- /dev/null
+++ b/init.d/12_boot_late.target
@@ -0,0 +1,7 @@
+[unit]
+description = "Boot late stage target"
+requires_weak = ["05_boot_essential.target"]
+
+[service]
+cmd = "/usr/bin/true"
+type = "oneshot"
--- /dev/null
+++ b/init.d/12_dbus.service
@@ -0,0 +1,8 @@
+[unit]
+description = "D-Bus system bus"
+requires_weak = ["12_boot_late.target", "00_ipcd.service"]
+
+[service]
+cmd = "dbus-daemon"
+args = ["--system", "--nopidfile"]
+type = "oneshot_async"
--- /dev/null
+++ b/init.d/13_sessiond.service
@@ -0,0 +1,7 @@
+[unit]
+description = "Red Bear session broker"
+requires_weak = ["12_dbus.service"]
+
+[service]
+cmd = "redbear-sessiond"
+type = "oneshot_async"
--- /dev/null
+++ b/init.d/13_seatd.service
@@ -0,0 +1,8 @@
+[unit]
+description = "seatd seat management"
+requires_weak = ["12_dbus.service", "13_sessiond.service"]
+
+[service]
+cmd = "/usr/bin/seatd"
+args = ["-l", "info"]
+type = "oneshot_async"