mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Order mkfs services before the corresponding fsck services
This commit is contained in:
parent
1860badbeb
commit
dd7edefb2c
@ -188,7 +188,7 @@ in
|
|||||||
in nameValuePair "mkfs-${device'}"
|
in nameValuePair "mkfs-${device'}"
|
||||||
{ description = "Initialisation of Filesystem ${fs.device}";
|
{ description = "Initialisation of Filesystem ${fs.device}";
|
||||||
wantedBy = [ "${mountPoint'}.mount" ];
|
wantedBy = [ "${mountPoint'}.mount" ];
|
||||||
before = [ "${mountPoint'}.mount" ];
|
before = [ "${mountPoint'}.mount" "systemd-fsck@${device'}.service" ];
|
||||||
require = [ "${device'}.device" ];
|
require = [ "${device'}.device" ];
|
||||||
after = [ "${device'}.device" ];
|
after = [ "${device'}.device" ];
|
||||||
path = [ pkgs.utillinux ] ++ config.system.fsPackages;
|
path = [ pkgs.utillinux ] ++ config.system.fsPackages;
|
||||||
|
Loading…
Reference in New Issue
Block a user