]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests/docker: cleanup non-verbose output
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 29 Aug 2023 16:15:18 +0000 (17:15 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 30 Aug 2023 13:57:44 +0000 (14:57 +0100)
Even with --quiet docker will spam the sha256 to the console. Avoid
this by redirecting stdout. While we are at it fix the name we echo
which was broken during 0b1a649047 (tests/docker: use direct RUNC call
to build containers).

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230829161528.2707696-3-alex.bennee@linaro.org>

tests/docker/Makefile.include

index 142e8605eee98017261d1ee49284cce0f5442c30..dfabafab925bd54d1dede3c40a3b9e8f2ee88b1e 100644 (file)
@@ -46,9 +46,9 @@ docker-image-%: $(DOCKER_FILES_DIR)/%.docker
                --build-arg BUILDKIT_INLINE_CACHE=1     \
                $(if $(NOUSER),,                        \
                        --build-arg USER=$(USER)        \
-                       --build-arg UID=$(UID)) \
-               -t qemu/$* - < $<,                      \
-               "BUILD", $1)
+                       --build-arg UID=$(UID))         \
+               -t qemu/$* - < $< $(if $V,,> /dev/null),\
+               "BUILD", $*)
 
 # Special rule for debootstraped binfmt linux-user images
 docker-binfmt-image-debian-%: $(DOCKER_FILES_DIR)/debian-bootstrap.docker