mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
Mount osx 9p db on /mnt
Otherwise interferes with transfused startup. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
1f8bdc0c47
commit
3b6d1ae4f2
@ -13,10 +13,10 @@ start() {
|
|||||||
|
|
||||||
mkdir -p /Database
|
mkdir -p /Database
|
||||||
mount -t tmpfs tmpfs /Database
|
mount -t tmpfs tmpfs /Database
|
||||||
mkdir -p /tmp/db
|
mkdir -p /mnt/db
|
||||||
mount -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 db /tmp/db
|
mount -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 db /tmp/db
|
||||||
[ $? -ne 0 ] && rm -rf /Database && printf "Could not mount configuration database\n" 1>&2 && eend 1
|
[ $? -ne 0 ] && rm -rf /Database && printf "Could not mount configuration database\n" 1>&2 && eend 1
|
||||||
cp -a /tmp/db/branch/master/ro/com.docker.driver.amd64-linux/* /Database
|
cp -a /mnt/db/branch/master/ro/com.docker.driver.amd64-linux/* /Database
|
||||||
|
|
||||||
eend 0
|
eend 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user