mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-28 15:48:45 +08:00
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:
parent
7394b85cf7
commit
474729b4f2
@ -16,6 +16,7 @@ ion = {}
|
||||
[[files]]
|
||||
path = "/usr/lib/init.d/10_acid"
|
||||
data = """
|
||||
requires_weak 00_drivers
|
||||
ion /usr/lib/run_acid.ion
|
||||
"""
|
||||
|
||||
|
||||
@ -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
|
||||
"""
|
||||
|
||||
|
||||
@ -35,6 +35,7 @@ nowait sudo --daemon
|
||||
[[files]]
|
||||
path = "/usr/lib/init.d/00_drivers"
|
||||
data = """
|
||||
requires_weak 00_base
|
||||
pcid-spawner
|
||||
"""
|
||||
|
||||
|
||||
@ -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
|
||||
"""
|
||||
|
||||
@ -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
|
||||
"""
|
||||
|
||||
@ -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
|
||||
"""
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -12,6 +12,7 @@ netutils = {}
|
||||
[[files]]
|
||||
path = "/usr/lib/init.d/10_net"
|
||||
data = """
|
||||
requires_weak 00_drivers
|
||||
notify smolnetd
|
||||
nowait dhcpd
|
||||
"""
|
||||
|
||||
@ -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
|
||||
"""
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
"""
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
"""
|
||||
|
||||
@ -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
|
||||
"""
|
||||
|
||||
@ -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
|
||||
"""
|
||||
|
||||
@ -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
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user