dc69317ddf
- redbear-sessiond: add Manager.Inhibit (pipe FD), CanPowerOff/CanReboot/ CanSuspend/CanHibernate/CanHybridSleep/CanSleep (return na), PowerOff/ Reboot/Suspend stubs, GetSessionByPID, ListUsers, ListSeats, ListInhibitors, ActivateSession/LockSession/UnlockSession/TerminateSession - redbear-sessiond: add Session SetIdleHint, SetLockedHint, SetType, Terminate methods; wire PauseDevice/ResumeDevice/Lock/Unlock signal emission via SignalEmitter injection; add dynamic device enumeration scanning /scheme/drm/card* and /dev/input/event* at startup - redbear-sessiond: replace infinite pending() with stoppable shutdown via tokio watch channel + control socket shutdown command - redbear-upower: add Changed signal emission with 30s periodic polling and power state snapshot comparison - redbear-notifications: add ActionInvoked signal, expand capabilities to body + body-markup + actions - redbear-polkit, redbear-udisks: replace pending() with stoppable shutdown via signal handling + watch channel - Add redbear-statusnotifierwatcher: new session bus service implementing org.freedesktop.StatusNotifierWatcher for KDE system tray - Add D-Bus activation file for StatusNotifierWatcher - KWin session.cpp: try LogindSession before NoopSession fallback - Consolidate config profiles: remove obsolete redbear-desktop, redbear-kde, redbear-live-*, redbear-minimal-*, redbear-wayland configs; simplify to three supported targets (redbear-full, redbear-mini, redbear-grub) - Update DBUS-INTEGRATION-PLAN.md and DESKTOP-STACK-CURRENT-STATUS.md with Phase 3/4 fragility assessment, KWin readiness matrix, and completeness gap analysis
58 lines
1.8 KiB
TOML
58 lines
1.8 KiB
TOML
# Red Bear OS overrides for legacy base init scripts.
|
|
#
|
|
# 00_base: tmpdir setup + sudo --daemon. ipcd and ptyd are started by the
|
|
# systemd-style services in base recipe's init.d/ (00_ipcd.service,
|
|
# 00_ptyd.service). The old "notify" calls have been removed because
|
|
# the "notify" binary does not exist — they always failed silently.
|
|
# sudo --daemon is kept here because 00_sudo.service exists in the base
|
|
# recipe but is not wired into any target that gets scheduled.
|
|
# 00_drivers: removed — pcid-spawner is started by 00_pcid-spawner.service from
|
|
# the base recipe. The legacy script was redundant.
|
|
# 10_net: blanked — replaced by per-config network services (e.g. redbear-live-mini's
|
|
# 10_smolnetd.service + 10_dhcpd.service).
|
|
# 00_pcid-spawner.service: overridden to oneshot_async. The base recipe uses
|
|
# type="oneshot" which blocks init until pcid-spawner exits. On real
|
|
# hardware (and QEMU), pcid-spawner can hang waiting for a PCI device
|
|
# driver that never responds, blocking the entire rootfs phase including
|
|
# getty/login. Using oneshot_async lets init proceed to start console
|
|
# services while drivers spawn in the background.
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/00_base"
|
|
data = """
|
|
# clear and recreate tmpdir with 0o1777 permission
|
|
rm -rf /tmp
|
|
mkdir -m a=rwxt /tmp
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/00_drivers"
|
|
data = ""
|
|
|
|
[[files]]
|
|
path = "/usr/lib/init.d/10_net"
|
|
data = ""
|
|
|
|
[[files]]
|
|
path = "/etc/init.d/20_audiod.service"
|
|
data = """
|
|
[unit]
|
|
description = "Audio multiplexer"
|
|
default_dependencies = false
|
|
|
|
[service]
|
|
cmd = "audiod"
|
|
type = "oneshot_async"
|
|
"""
|
|
|
|
[[files]]
|
|
path = "/etc/init.d/00_pcid-spawner.service"
|
|
data = """
|
|
[unit]
|
|
description = "PCI driver spawner (non-blocking)"
|
|
|
|
[service]
|
|
cmd = "pcid-spawner"
|
|
type = "oneshot_async"
|
|
"""
|