summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-10-20 17:56:13 +0200
committerValentin Rothberg <rothberg@redhat.com>2021-10-26 13:51:45 +0200
commite86549b18dd413fe3d4939f84ad9c1e21afd225c (patch)
tree7ec66664f51ee5affc7d311061764b8e9fcea529
parent2e3611d61f6fa3a9195e601027628a696aa77923 (diff)
downloadpodman-e86549b18dd413fe3d4939f84ad9c1e21afd225c.tar.gz
podman-e86549b18dd413fe3d4939f84ad9c1e21afd225c.tar.bz2
podman-e86549b18dd413fe3d4939f84ad9c1e21afd225c.zip
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>
-rwxr-xr-xcontrib/cirrus/runner.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh
index 22a66dd08..8ef2a6e64 100755
--- a/contrib/cirrus/runner.sh
+++ b/contrib/cirrus/runner.sh
@@ -117,6 +117,7 @@ exec_container() {
set -x
# shellcheck disable=SC2154
exec podman run --rm --privileged --net=host --cgroupns=host \
+ -v `mktemp -d -p /var/tmp`:/tmp:Z \
-v /dev/fuse:/dev/fuse \
-v "$GOPATH:$GOPATH:Z" \
--workdir "$GOSRC" \