1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-11 09:04:01 +03:00

boot/init: Make switch_root depend on Splash

This commit is contained in:
Samuel Dionne-Riel 2022-03-26 00:51:37 -04:00
parent dc63801179
commit ba3ee779d0

View File

@ -6,6 +6,7 @@ class Tasks::SwitchRoot < SingletonTask
SYSTEM_MOUNT_POINT = "/mnt"
def initialize()
add_dependency(:Task, Tasks::Splash.instance)
add_dependency(:Target, :SwitchRoot)
@target = SYSTEM_MOUNT_POINT
end