units: order volatile-root after repart
Let's make sure systemd-repart can still see the real device before we replace its mount with an overlay mount, and thus order repart before volatile-root. See: https://lists.freedesktop.org/archives/systemd-devel/2020-July/044896.html
This commit is contained in:
parent
3f64046cda
commit
7e31e90e58
|
@ -12,7 +12,7 @@ Description=Enforce Volatile Root File Systems
|
||||||
Documentation=man:systemd-volatile-root.service(8)
|
Documentation=man:systemd-volatile-root.service(8)
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
After=sysroot.mount
|
After=sysroot.mount systemd-repart.service
|
||||||
Before=initrd-root-fs.target shutdown.target
|
Before=initrd-root-fs.target shutdown.target
|
||||||
AssertPathExists=/etc/initrd-release
|
AssertPathExists=/etc/initrd-release
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue