aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-26 16:44:39 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-26 16:44:39 +0200
commitd6d0a45d4bfe6ecb733323b8c464cbd58a87c3ac (patch)
treea24340cd97a4209e83d2c17486d8d22293bdd3ff
parent6eb528704c68305e5362634c3103e6883b6d8797 (diff)
repo-install-test: docker: add --tmpfs /run/lock
Make the script work on a debian10 host. I had developed it initially on debian9, where this was not necessary, and the Jenkins servers are also running debian9. Fixes: Failed to mount tmpfs at /run/lock: Permission denied [!!!!!!] Failed to mount API filesystems, freezing. Freezing execution. Change-Id: I5127356031a5dd080473aa650c2beae2a81a697f
-rwxr-xr-xscripts/repo-install-test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/repo-install-test.sh b/scripts/repo-install-test.sh
index a93fb23..d3ce8d6 100755
--- a/scripts/repo-install-test.sh
+++ b/scripts/repo-install-test.sh
@@ -36,6 +36,7 @@ docker run --rm \
-e FEED="$FEED" \
-e container=docker \
--tmpfs /run \
+ --tmpfs /run/lock \
--tmpfs /tmp \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
--cap-add SYS_ADMIN \