tb.sh: container stuck in - Removal In Progress

Systemd is once preventing a clean exit of the build
container.

Mapping /run and /tmp to tmpfs helps on some systems.

Partial-bug: 1907119
Change-Id: I3fc54792d18b632fbd5cab678ce4fa348bc96873
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Scott Little 2020-12-04 16:08:25 -05:00
parent 451b9513e4
commit bbf8b0402a
1 changed files with 2 additions and 0 deletions

2
tb.sh
View File

@ -64,6 +64,8 @@ function run_container {
-v ${HOST_MIRROR_DIR}:/import/mirrors:ro \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
-v ~/.ssh:/mySSH:ro \
--tmpfs /tmp \
--tmpfs /run \
-e "container=docker" \
-e MYUNAME=${MYUNAME} \
--privileged=true \