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.
This commit is contained in:
@@ -47,4 +47,23 @@ mode = 0o1777
|
||||
path = "/var/run"
|
||||
data = ""
|
||||
directory = true
|
||||
mode = 0o1777
|
||||
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"
|
||||
"""
|
||||
Reference in New Issue
Block a user