aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-26 16:44:39 +0200
committerosmith <osmith@sysmocom.de>2020-05-28 09:53:22 +0000
commit29d77413c0373e2e3c35f6a86e0f95d87f67401f (patch)
treeb859a769fbfa23e821f175b62d85d5e5782685e1
parent2774c914387d1539efc6d551483b863e97bdae9a (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 \