Skip to content

Commit

Permalink
Updating code for exposing of overlay mounts under /live too.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-baumann committed Sep 26, 2012
1 parent 5fdc7f1 commit c0b91e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/boot/9990-overlay.sh
Expand Up @@ -426,8 +426,9 @@ setup_unionfs ()
fi
done

# shows cow fs on /overlay (FIXME: do we still need/want this? probably yes)
mkdir -p "${rootmnt}/live/overlay"
mount -o move /live/overlay "${rootmnt}/live/overlay" >/dev/null 2>&1 || mount -o bind /overlay "${rootmnt}/live/overlay" || log_warning_msg "Unable to move or bind /overlay to ${rootmnt}/live/overlay"
mount -o move /live/overlay "${rootmnt}/live/overlay" > /dev/null 2>&1 || \
mount -o bind /overlay "${rootmnt}/live/overlay" || \
log_warning_msg "W: failed to mount /overlay to ${rootmnt}/live/overlay"

}

0 comments on commit c0b91e4

Please sign in to comment.