From: Ralph Ronnquist Date: Mon, 4 Sep 2023 02:21:49 +0000 (+1000) Subject: Bug fix for bind mounted $LIVE variant ($UPPER=$LOWER) X-Git-Tag: 0.1.14~1 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=20812843d3495793d51a1dd4d1cf5d063fff5665;hp=f8cfc3c838e3fb738af6f53303a3486f1d08ab54;p=rrq%2Foverlay-boot.git Bug fix for bind mounted $LIVE variant ($UPPER=$LOWER) --- diff --git a/functions b/functions index 959d762..fa1d527 100644 --- a/functions +++ b/functions @@ -163,7 +163,7 @@ setup_overlay() { elif [ "$LIVE" != "$UPPER" ] ; then # With UPPER = LOWER we rather make a bind mount to LIVE env CONFIG="$CONFIG" $PREMOUNT "$UPPER" - mount --bind $UPPER $LOWER + mount --bind $UPPER $LIVE fi grep ^SHARE= "$CONFIG" | while read A ; do