Order mkfs services before the corresponding fsck services
This commit is contained in:
parent
1860badbeb
commit
dd7edefb2c
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ in
|
|||
in nameValuePair "mkfs-${device'}"
|
||||
{ description = "Initialisation of Filesystem ${fs.device}";
|
||||
wantedBy = [ "${mountPoint'}.mount" ];
|
||||
before = [ "${mountPoint'}.mount" ];
|
||||
before = [ "${mountPoint'}.mount" "systemd-fsck@${device'}.service" ];
|
||||
require = [ "${device'}.device" ];
|
||||
after = [ "${device'}.device" ];
|
||||
path = [ pkgs.utillinux ] ++ config.system.fsPackages;
|
||||
|
|
Loading…
Reference in a new issue