generator: order fsck service After= the device
Otherwise we might get started too early.
This commit is contained in:
parent
ad2706db7c
commit
0900593e86
|
@ -65,7 +65,7 @@ static int write_fsck_sysroot_service(const char *dir, const char *what) {
|
|||
"Description=File System Check on %2$s\n"
|
||||
"DefaultDependencies=no\n"
|
||||
"BindsTo=%3$s\n"
|
||||
"After=initrd-root-device.target local-fs-pre.target\n"
|
||||
"After=initrd-root-device.target local-fs-pre.target %3$s\n"
|
||||
"Before=shutdown.target\n"
|
||||
"\n"
|
||||
"[Service]\n"
|
||||
|
|
Loading…
Reference in a new issue