diff options
| -rwxr-xr-x | scripts/boot/9990-overlay.sh | 5 |
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" } |
