mirror of
https://github.com/containers/skopeo.git
synced 2025-09-20 01:20:09 +00:00
Mount /run/systemd/journal/socket into test-system containers
The nested podman tries to write to it. This primarily only removes noise from logs, it does not seem to significantly change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -154,7 +154,7 @@ test-integration: build-container
|
|||||||
test-system: build-container
|
test-system: build-container
|
||||||
DTEMP=$(shell mktemp -d --tmpdir=/var/tmp podman-tmp.XXXXXX); \
|
DTEMP=$(shell mktemp -d --tmpdir=/var/tmp podman-tmp.XXXXXX); \
|
||||||
$(CONTAINER_CMD) --privileged --net=host \
|
$(CONTAINER_CMD) --privileged --net=host \
|
||||||
-v $$DTEMP:/var/lib/containers:Z \
|
-v $$DTEMP:/var/lib/containers:Z -v /run/systemd/journal/socket:/run/systemd/journal/socket \
|
||||||
"$(IMAGE)" \
|
"$(IMAGE)" \
|
||||||
bash -c 'BUILDTAGS="$(BUILDTAGS)" hack/make.sh test-system'; \
|
bash -c 'BUILDTAGS="$(BUILDTAGS)" hack/make.sh test-system'; \
|
||||||
rc=$$?; \
|
rc=$$?; \
|
||||||
|
Reference in New Issue
Block a user