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