mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 18:11:35 +00:00
Merge pull request #168 from MagnusS/mount-tmp
also bindmount /tmp once
This commit is contained in:
commit
a450843a48
@ -49,7 +49,9 @@ start()
|
||||
export no_proxy="$(mobyconfig get proxy/exclude)"
|
||||
fi
|
||||
|
||||
for d in Users Volumes tmp private
|
||||
grep "osxfs /tmp" /etc/mtab -q || mount --bind /Mac/tmp /tmp
|
||||
|
||||
for d in Users Volumes private
|
||||
do
|
||||
[ -d /Mac/$d ] && [ ! -d $d ] && mkdir -p /$d && mount --bind /Mac/$d /$d
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user