fix(config): move init services from /usr/lib/init.d to /etc/init.d

Config [[files]] entries for init services used /usr/lib/init.d/ paths,
which get silently overwritten by package staging (Layer 2 over Layer 1).
Per AGENTS.md, config overrides MUST use /etc/init.d/ so the init system's
config_for_dirs() gives them priority over package defaults.

Fixes mini image debug console failure (getty: failed to open TTY
/scheme/fbcon/3: No such file or directory) caused by base package's
31_debug_console.service overwriting minimal.toml's debug scheme override.
This commit is contained in:
2026-05-04 07:10:39 +01:00
parent cd29d63533
commit 39b6aa7c54
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ uutils = {}
## Configuration files
[[files]]
path = "/usr/lib/init.d/00_base.service"
path = "/etc/init.d/00_base.service"
data = """
[unit]
description = "Base environment setup (tmpdir)"
@@ -35,7 +35,7 @@ type = "oneshot"
"""
[[files]]
path = "/usr/lib/init.d/00_sudo.service"
path = "/etc/init.d/00_sudo.service"
data = """
[unit]
description = "Sudo privilege daemon"