From f9a2f28165e7626272b1f3606c6cbcdc7aaf817f Mon Sep 17 00:00:00 2001 From: Admin Pupkin Date: Tue, 9 Jun 2026 11:24:06 +0300 Subject: [PATCH] config: drop legacy 'inputd -A 2' rootfs invocation (v6.0) The initfs already starts inputd (in phase 1) and registers the 'scheme input/evdev'. The rootfs 29_activate_console.service was calling 'inputd -A 2' from minimal.toml, which the v6.0 inputd binary does not accept (no -A flag; v6.0 inputd is a pure scheme daemon that registers the single-producer evdev ring buffer). Override the rootfs service with a no-op ('true') that satisfies the unit dependency chain without re-spawning inputd. The actual input pipeline (drivers writing Linux evdev, evdevd reading from the scheme, libinput/KWin consuming /dev/input/eventN) works without this redundant rootfs invocation. --- config/redbear-legacy-base.toml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/config/redbear-legacy-base.toml b/config/redbear-legacy-base.toml index b1466cc885..7d8e99111a 100644 --- a/config/redbear-legacy-base.toml +++ b/config/redbear-legacy-base.toml @@ -47,4 +47,23 @@ mode = 0o1777 path = "/var/run" data = "" directory = true -mode = 0o1777 \ No newline at end of file +mode = 0o1777 + +# Override minimal.toml's 29_activate_console.service to drop the +# legacy `inputd -A 2` invocation. v6.0 inputd has no -A flag (it +# implements the single-producer evdev ring buffer). initfs already +# starts inputd in phase 1 (init.initfs.d/10_inputd.service) and +# registers /scheme/input/evdev; the rootfs second invocation would +# just fail with "unrecognized argument". +[[files]] +path = "/etc/init.d/29_activate_console.service" +data = """ +[unit] +description = "Activate console VT (v6.0: inputd runs from initfs)" +default_dependencies = false +requires_weak = ["00_base.target"] + +[service] +cmd = "true" +type = "oneshot" +""" \ No newline at end of file