X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=functions;h=2fa68ccf2de35cad8232b355ab57f6a849d1fcb2;hb=3e2ed38e99cc3a02220bf734b70e74e57dbe6e26;hp=e9111fe08e9c72e6640a7cca20dfe1e1f88b9449;hpb=c9ae07817991aa1a0453811459fb5011c407c40c;p=rrq%2Foverlay-boot.git 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