mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 14:32:59 +00:00
nixos/systemd-stage-1: nixos-find-nixos-closure before initrd.target
Without this, boot could proceed to the initrd cleanup step before the
closure was found, killing the service and breaking boot.
(cherry picked from commit af8279fe38
)
This commit is contained in:
parent
58b22d18bd
commit
b798b0d694
@ -515,7 +515,7 @@ in {
|
||||
RequiresMountsFor = "/sysroot/nix/store";
|
||||
DefaultDependencies = false;
|
||||
};
|
||||
before = [ "shutdown.target" ];
|
||||
before = [ "initrd.target" "shutdown.target" ];
|
||||
conflicts = [ "shutdown.target" ];
|
||||
requiredBy = [ "initrd.target" ];
|
||||
serviceConfig = {
|
||||
|
Loading…
Reference in New Issue
Block a user