mirror of https://github.com/containers/podman.git
cirrus: containers: mount directory in /var/tmp to /tmp
Mount a directory from /var/tmp to /tmp to make sure that /tmp is not on an overlay mount. This should make overlay mounts possible in the containerized tests which we're currently skipping. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
parent
2e3611d61f
commit
e86549b18d
|
@ -117,6 +117,7 @@ exec_container() {
|
||||||
set -x
|
set -x
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
exec podman run --rm --privileged --net=host --cgroupns=host \
|
exec podman run --rm --privileged --net=host --cgroupns=host \
|
||||||
|
-v `mktemp -d -p /var/tmp`:/tmp:Z \
|
||||||
-v /dev/fuse:/dev/fuse \
|
-v /dev/fuse:/dev/fuse \
|
||||||
-v "$GOPATH:$GOPATH:Z" \
|
-v "$GOPATH:$GOPATH:Z" \
|
||||||
--workdir "$GOSRC" \
|
--workdir "$GOSRC" \
|
||||||
|
|
Loading…
Reference in New Issue