projects
/
rrq
/
overlay-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ceac09
)
SHARE to mount host dir onto LIVE
author
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Mon, 5 Dec 2022 03:12:49 +0000
(14:12 +1100)
committer
Ralph Ronnquist
<ralph.ronnquist@gmail.com>
Mon, 5 Dec 2022 03:12:49 +0000
(14:12 +1100)
functions
patch
|
blob
|
history
diff --git
a/functions
b/functions
index e9111fe08e9c72e6640a7cca20dfe1e1f88b9449..2fa68ccf2de35cad8232b355ab57f6a849d1fcb2 100644
(file)
--- 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