]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: order volatile-root after repart
authorLennart Poettering <lennart@poettering.net>
Mon, 10 Aug 2020 17:56:17 +0000 (19:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 11 Aug 2020 07:12:56 +0000 (09:12 +0200)
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

units/systemd-volatile-root.service.in

index 8f228bce9fe74ced7e421a97615b938180c3ccc4..a39e9a4ec2d557034c2488b6ffa5b3b57d2e083b 100644 (file)
@@ -12,7 +12,7 @@ Description=Enforce Volatile Root File Systems
 Documentation=man:systemd-volatile-root.service(8)
 DefaultDependencies=no
 Conflicts=shutdown.target
-After=sysroot.mount
+After=sysroot.mount systemd-repart.service
 Before=initrd-root-fs.target shutdown.target
 AssertPathExists=/etc/initrd-release