aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsquashfu5
1 files changed, 5 insertions, 0 deletions
diff --git a/squashfu b/squashfu
index de5c5ef..b6c7cb2 100755
--- a/squashfu
+++ b/squashfu
@@ -181,6 +181,11 @@ run_rsync() {
debug " Includes: ${INCLUDES[@]}"
debug " Excludes: ${EXCLUDES[@]}"
rsync ${RSYNC_OPTS[@]} ${INCLUDES[@]} ${EXCLUDES[@]} ${BKUP_ROOT}/rw
+
+ # Force flush of pseudo links on branches to ensure clean dismount
+ # Our umount.aufs helper can do this for us, but it doesn't handle
+ # rsync hangups very well.
+ auplink "${BKUP_ROOT}/rw" flush
}
save_old_tree () {