Skip to content

Commit

Permalink
fix: rootfs-image: Add missing filesystem sync when not using mender-…
Browse files Browse the repository at this point in the history
…flash.

Changelog: Title
Ticket: None

Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech>
  • Loading branch information
kacf committed Aug 22, 2024
1 parent eae7540 commit 46dd249
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions support/modules/rootfs-image
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ case "$STATE" in
ubiupdatevol $passive --size=$size $file
else
cat "$file" > $passive
sync
fi
if [ "$(cat stream-next)" != "" ]; then
echo "More than one file in payload" 1>&2
Expand Down

0 comments on commit 46dd249

Please sign in to comment.