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:
+2
-2
@@ -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"
|
||||
|
||||
+3
-3
@@ -17,7 +17,7 @@ pkgutils = {}
|
||||
kibi = {}
|
||||
|
||||
[[files]]
|
||||
path = "/usr/lib/init.d/29_activate_console.service"
|
||||
path = "/etc/init.d/29_activate_console.service"
|
||||
data = """
|
||||
[unit]
|
||||
description = "Activate console VT"
|
||||
@@ -30,7 +30,7 @@ type = "oneshot_async"
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/usr/lib/init.d/30_console.service"
|
||||
path = "/etc/init.d/30_console.service"
|
||||
data = """
|
||||
[unit]
|
||||
description = "Console terminals"
|
||||
@@ -43,7 +43,7 @@ type = "oneshot_async"
|
||||
"""
|
||||
|
||||
[[files]]
|
||||
path = "/usr/lib/init.d/31_debug_console.service"
|
||||
path = "/etc/init.d/31_debug_console.service"
|
||||
data = """
|
||||
[unit]
|
||||
description = "Debug console"
|
||||
|
||||
Reference in New Issue
Block a user