From 207b672e863b408cff5a56ddb2a9ff08f4523791 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Mon, 5 Dec 2022 14:12:49 +1100 Subject: [PATCH] SHARE to mount host dir onto LIVE --- functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions b/functions index e9111fe..2fa68cc 100644 --- a/functions +++ b/functions @@ -156,12 +156,12 @@ setup_overlay() { grep ^SHARE= "$CONFIG" | while read A ; do B="$(echo ${A#SHARE=})" - D="$(realpath "$LOWER$B")" + D="$(realpath "$B")" [ "$D" = "$LOWER" ] && continue if [ -d "$D" ] ; then - echo bind mount $D onto $LIVE$D + echo bind mount $D onto $LIVE$B mkdir -p $LIVE$D - mount --bind $D $LIVE$D + mount --bind $D $LIVE$B fi done -- 2.39.2