feat: D-Bus + sessiond services wired into init.d
Added boot target hierarchy (boot_essential → boot_late) and D-Bus services directly to base recipe init.d: - 12_dbus.service: dbus-daemon --system - 13_sessiond.service: redbear-sessiond (org.freedesktop.login1) - 13_seatd.service: seatd seat management D-Bus daemon confirmed running in QEMU boot. User lookup warning (unknown username root) is a pre-existing Redox D-Bus configuration issue.
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
--- a/init.d/05_boot_essential.target 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ b/init.d/05_boot_essential.target 2026-05-03 14:36:41.375362503 +0100
|
||||
@@ -0,0 +1,4 @@
|
||||
+[unit]
|
||||
+description = "Boot target"
|
||||
+requires_weak = ["00_base.target"]
|
||||
+
|
||||
--- a/init.d/12_boot_late.target 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ b/init.d/12_boot_late.target 2026-05-03 14:36:41.377146063 +0100
|
||||
@@ -0,0 +1,4 @@
|
||||
+[unit]
|
||||
+description = "Boot target"
|
||||
+requires_weak = ["00_base.target"]
|
||||
+
|
||||
--- a/init.d/12_dbus.service 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ b/init.d/12_dbus.service 2026-05-03 14:36:41.377886492 +0100
|
||||
@@ -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"
|
||||
--- a/init.d/13_seatd.service 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ b/init.d/13_seatd.service 2026-05-03 14:36:41.379589005 +0100
|
||||
@@ -0,0 +1,8 @@
|
||||
+[unit]
|
||||
+description = "seatd seat management daemon"
|
||||
+requires_weak = ["12_dbus.service", "13_sessiond.service"]
|
||||
+
|
||||
+[service]
|
||||
+cmd = "/usr/bin/seatd"
|
||||
+args = ["-l", "info"]
|
||||
+type = "oneshot_async"
|
||||
--- a/init.d/13_sessiond.service 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ b/init.d/13_sessiond.service 2026-05-03 14:36:41.378643373 +0100
|
||||
@@ -0,0 +1,7 @@
|
||||
+[unit]
|
||||
+description = "Red Bear session broker (org.freedesktop.login1)"
|
||||
+requires_weak = ["12_dbus.service"]
|
||||
+
|
||||
+[service]
|
||||
+cmd = "redbear-sessiond"
|
||||
+type = "oneshot_async"
|
||||
@@ -0,0 +1 @@
|
||||
../../../local/patches/base/P4-initfs-dbus-services.patch
|
||||
@@ -16,6 +16,7 @@ patches = [
|
||||
"P4-initfs-usb-drm-services.patch",
|
||||
"P4-initfs-network-services.patch",
|
||||
"P4-initfs-getty-services.patch",
|
||||
"P4-initfs-dbus-services.patch",
|
||||
]
|
||||
|
||||
[build]
|
||||
|
||||
Reference in New Issue
Block a user