summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-09-26 13:51:50 +0200
committerDaniel Baumann <daniel@debian.org>2012-09-26 14:08:20 +0200
commitc0b91e4572ddbbfa5da4e61bfd99ad20bc2f3dc1 (patch)
tree555743ac82d5408cbf02c034febebc0481a77ee7 /scripts
parent5fdc7f1fd20cee26443879022c1e6a3d0377a2b3 (diff)
downloadlive-boot-c0b91e4572ddbbfa5da4e61bfd99ad20bc2f3dc1.tar.gz
live-boot-c0b91e4572ddbbfa5da4e61bfd99ad20bc2f3dc1.zip
Updating code for exposing of overlay mounts under /live too.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/boot/9990-overlay.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/boot/9990-overlay.sh b/scripts/boot/9990-overlay.sh
index 9318f9b..d377d34 100755
--- a/scripts/boot/9990-overlay.sh
+++ b/scripts/boot/9990-overlay.sh
@@ -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"
}