diff options
author | Oliver Smith <osmith@sysmocom.de> | 2020-05-26 16:44:39 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2020-05-26 16:44:39 +0200 |
commit | d6d0a45d4bfe6ecb733323b8c464cbd58a87c3ac (patch) | |
tree | a24340cd97a4209e83d2c17486d8d22293bdd3ff /scripts | |
parent | 6eb528704c68305e5362634c3103e6883b6d8797 (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
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/repo-install-test.sh | 1 |
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 \ |