Specify dependencies between init scripts

This aims to reproduce the current execution order of init scripts, not
to provide the minimal set of dependencies. That can be implemented
later.
This commit is contained in:
bjorn3 2026-02-25 22:38:55 +01:00
parent 7394b85cf7
commit 474729b4f2
17 changed files with 25 additions and 0 deletions

View File

@ -16,6 +16,7 @@ ion = {}
[[files]]
path = "/usr/lib/init.d/10_acid"
data = """
requires_weak 00_drivers
ion /usr/lib/run_acid.ion
"""

View File

@ -15,6 +15,7 @@ auto-test = {}
[[files]]
path = "/usr/lib/init.d/30_console"
data = """
requires_weak 10_net
ion /usr/lib/run_tests.ion
"""

View File

@ -35,6 +35,7 @@ nowait sudo --daemon
[[files]]
path = "/usr/lib/init.d/00_drivers"
data = """
requires_weak 00_base
pcid-spawner
"""

View File

@ -19,6 +19,7 @@ orbutils-orblogin = {}
[[files]]
path = "/usr/lib/init.d/20_orbital"
data = """
requires_weak 10_net
nowait VT=3 orbital orblogin launcher
"""
@ -26,6 +27,7 @@ nowait VT=3 orbital orblogin launcher
[[files]]
path = "/usr/lib/init.d/30_console"
data = """
requires_weak 20_orbital
nowait getty 2
nowait getty /scheme/debug/no-preserve -J
"""

View File

@ -29,6 +29,7 @@ shared-mime-info = {}
[[files]]
path = "/usr/lib/init.d/20_orbital"
data = """
requires_weak 10_net
notify audiod
nowait BROWSER=/bin/netsurf-fb VT=3 orbital orblogin launcher
"""
@ -37,6 +38,7 @@ nowait BROWSER=/bin/netsurf-fb VT=3 orbital orblogin launcher
[[files]]
path = "/usr/lib/init.d/30_console"
data = """
requires_weak 20_orbital
nowait getty 2
nowait getty /scheme/debug/no-preserve -J
"""

View File

@ -12,6 +12,7 @@ llvm20 = {}
[[files]]
path = "/usr/lib/init.d/99_gen_llvm-config-generate"
data = """
requires_weak 00_drivers
bash /usr/bin/llvm-config-generate
"""

View File

@ -21,6 +21,7 @@ kibi = {}
[[files]]
path = "/usr/lib/init.d/30_console"
data = """
requires_weak 10_net
inputd -A 2
nowait getty 2
nowait getty /scheme/debug -J

View File

@ -17,6 +17,7 @@ kibi = {}
[[files]]
path = "/usr/lib/init.d/30_console"
data = """
requires_weak 00_drivers
inputd -A 2
nowait getty 2
nowait getty /scheme/debug/no-preserve -J

View File

@ -12,6 +12,7 @@ netutils = {}
[[files]]
path = "/usr/lib/init.d/10_net"
data = """
requires_weak 00_drivers
notify smolnetd
nowait dhcpd
"""

View File

@ -16,6 +16,7 @@ os-test-bins = {} # Provides source and cross-compiled binaries
[[files]]
path = "/usr/lib/init.d/30_console"
data = """
requires_weak 10_net
RUST_BACKTRACE=full os-test-runner
shutdown
"""

View File

@ -11,6 +11,7 @@ orbital = {}
[[files]]
path = "/usr/lib/init.d/30_redoxer"
data = """
requires_weak 10_net
echo
echo "## running redoxer in orbital ##"
nowait VT=3 orbital redoxerd

View File

@ -20,6 +20,7 @@ sed = {}
[[files]]
path = "/usr/lib/init.d/10_net"
data = """
requires_weak 00_drivers
notify smolnetd
dhcpd
"""
@ -27,6 +28,7 @@ dhcpd
[[files]]
path = "/usr/lib/init.d/30_redoxer"
data = """
requires_weak 10_net
ion /usr/lib/run_redoxer.ion
"""

View File

@ -28,6 +28,7 @@ redoxfs = {}
[[files]]
path = "/usr/lib/init.d/30_console"
data = """
requires_weak 10_net
inputd -A 2
nowait getty 2
nowait getty /scheme/debug/no-preserve -J

View File

@ -32,6 +32,7 @@ xkeyboard-config = {}
[[files]]
path = "/usr/lib/init.d/20_orbital"
data = """
requires_weak 10_net
notify audiod
nowait BROWSER=/bin/netsurf-fb VT=3 orbital orbital-wayland
"""

View File

@ -25,6 +25,7 @@ zenity = {}
[[files]]
path = "/usr/lib/init.d/10_dbus"
data = """
requires_weak 10_net
bash /usr/bin/start-dbus.sh
"""
@ -46,6 +47,7 @@ dbus-daemon --system
[[files]]
path = "/usr/lib/init.d/10_xenv"
data = """
requires_weak 10_net
glib-compile-schemas /usr/share/glib-2.0/schemas/
"""
@ -53,6 +55,7 @@ glib-compile-schemas /usr/share/glib-2.0/schemas/
[[files]]
path = "/usr/lib/init.d/20_orbital"
data = """
requires_weak 10_dbus 10_xenv
notify audiod
nowait BROWSER=/bin/netsurf-fb VT=3 orbital orbital-x11
"""
@ -120,6 +123,7 @@ mate-session&
[[files]]
path = "/usr/lib/init.d/30_console"
data = """
requires_weak 20_orbital
nowait DISPLAY=:0 getty 2
nowait DISPLAY=:0 getty /scheme/debug/no-preserve -J
"""

View File

@ -17,6 +17,7 @@ include = ["../desktop.toml"]
[[files]]
path = "/usr/lib/init.d/20_orbital"
data = """
requires_weak 10_net
notify audiod
nowait VT=3 orbital contain_orblogin launcher
"""
@ -25,6 +26,7 @@ nowait VT=3 orbital contain_orblogin launcher
[[files]]
path = "/usr/lib/init.d/30_console"
data = """
requires_weak 20_orbital
nowait getty --contain 2
nowait getty --contain /scheme/debug/no-preserve -J
"""

View File

@ -38,12 +38,14 @@ website = {}
[[files]]
path = "/usr/lib/init.d/98_keygen_sh"
data = """
requires_weak 10_net
bash /root/keygen.sh
"""
[[files]]
path = "/usr/lib/init.d/99_rustysd"
data = """
requires_weak 98_keygen_sh
# Undocumented usage of rsdctl, pointing to notifications dir
RSDCTL_ADDR=/var/run/rustysd/control.socket rustysd --conf /etc/rustysd
"""