From 29d77413c0373e2e3c35f6a86e0f95d87f67401f Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Tue, 26 May 2020 16:44:39 +0200 Subject: 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 --- scripts/repo-install-test.sh | 1 + 1 file changed, 1 insertion(+) 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 \ -- cgit v1.2.3