mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
docker: report hint when docker.py check fails
When a check fails we currently just report why we failed. This is not totally helpful to people who want to boot-strap a new image. Report a hint as to why it failed. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Suggested-by: Fam Zheng <famz@redhat.com>
This commit is contained in:
parent
2796346069
commit
d19f5fc041
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,8 @@ docker-binfmt-image-debian-%: $(DOCKER_FILES_DIR)/debian-bootstrap.docker
|
||||||
$(if $(EXECUTABLE),--include-executable=$(EXECUTABLE)), \
|
$(if $(EXECUTABLE),--include-executable=$(EXECUTABLE)), \
|
||||||
"BUILD","binfmt debian-$* (debootstrapped)"), \
|
"BUILD","binfmt debian-$* (debootstrapped)"), \
|
||||||
$(call quiet-command, \
|
$(call quiet-command, \
|
||||||
$(DOCKER_SCRIPT) check --quiet qemu:debian-$* $<, \
|
$(DOCKER_SCRIPT) check --quiet qemu:debian-$* $< || \
|
||||||
|
{ echo "You will need to build $(EXECUTABLE)"; exit 1;},\
|
||||||
"CHECK", "debian-$* exists"))
|
"CHECK", "debian-$* exists"))
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue