summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--projectroot/usr/lib/systemd/systemd-rc-once2
1 files changed, 2 insertions, 0 deletions
diff --git a/projectroot/usr/lib/systemd/systemd-rc-once b/projectroot/usr/lib/systemd/systemd-rc-once
index e14936e..58e5c27 100644
--- a/projectroot/usr/lib/systemd/systemd-rc-once
+++ b/projectroot/usr/lib/systemd/systemd-rc-once
@@ -21,6 +21,8 @@ start() {
}
umount() {
+ # make sure data makes it's way to the medium
+ sync
if ! mount_root_restore; then
# remounting rw/ro during the second boot will flush anything
# left in the filesystem journal