mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
check if automount worked
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
f7987a7da9
commit
74a2dbd14a
@ -26,4 +26,8 @@ start()
|
||||
# boot2docker compat, has /var and /tmp on partition
|
||||
[ -d /var/var/lib/boot2docker/ ] && mount --bind /var/var /var
|
||||
fi
|
||||
|
||||
mount | grep -q '/dev/[sxv]da. on /var type'
|
||||
|
||||
eend $? "Failed to mount block device"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user